Esempio n. 1
0
  /** Handles mouse input. */
  public void handleMouseInput() {
    super.handleMouseInput();
    int var1 = Mouse.getEventDWheel();

    if (var1 != 0) {
      if (var1 > 1) {
        var1 = 1;
      }

      if (var1 < -1) {
        var1 = -1;
      }

      if (!isShiftKeyDown()) {
        var1 *= 7;
      }

      this.mc.ingameGUI.getChatGUI().scroll(var1);
    }
  }