hedgewars/hwengine.pas
changeset 4845 9a0f5377c529
parent 4806 48c1a395f0a7
parent 4744 ecc2c757d0df
child 4849 e7b1f0aaf36f
--- a/hedgewars/hwengine.pas	Sun Jan 16 13:53:32 2011 -0500
+++ b/hedgewars/hwengine.pas	Mon Jan 17 23:22:52 2011 +0100
@@ -157,8 +157,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;