hedgewars/hwengine.pas
branch0.9.15
changeset 4744 ecc2c757d0df
parent 4490 f6840f7e2f60
child 4773 69f8431a5d20
child 4845 9a0f5377c529
--- a/hedgewars/hwengine.pas	Thu Jan 13 04:25:20 2011 +0100
+++ b/hedgewars/hwengine.pas	Fri Jan 14 00:31:21 2011 +0100
@@ -156,8 +156,8 @@
                         cHasFocus:= true;
 {$ELSE}
                     KeyPressChat(event.key.keysym.unicode);
-                SDL_MOUSEBUTTONDOWN: if event.button.button = SDL_BUTTON_WHEELDOWN then uKeys.wheelDown:= true;
-                SDL_MOUSEBUTTONUP: if event.button.button = SDL_BUTTON_WHEELUP then uKeys.wheelUp:= true;
+                SDL_MOUSEBUTTONDOWN: if event.button.button = SDL_BUTTON_WHEELDOWN then wheelDown:= true;
+                SDL_MOUSEBUTTONUP: if event.button.button = SDL_BUTTON_WHEELUP then wheelUp:= true;
                 SDL_ACTIVEEVENT:
                     if (event.active.state and SDL_APPINPUTFOCUS) <> 0 then
                         cHasFocus:= event.active.gain = 1;