diff -r 1c7c87ce37fd -r c0a389ccb0c1 hedgewars/uGears.pas --- a/hedgewars/uGears.pas Mon Oct 28 16:53:20 2013 +0100 +++ b/hedgewars/uGears.pas Mon Oct 28 17:03:20 2013 +0100 @@ -48,7 +48,8 @@ function GearByUID(uid : Longword) : PGear; implementation -uses uStore, uSound, uTeams, uRandom, uIO, uLandGraphics, {$IFDEF SDL2}uTouch,{$ENDIF} +uses uStore, uSound, uTeams, uRandom, uIO, uLandGraphics, + {$IFDEF USE_TOUCH_INTERFACE}uTouch,{$ENDIF} uLocale, uAmmos, uStats, uVisualGears, uScript, uVariables, uCommands, uUtils, uTextures, uRenderUtils, uGearsRender, uCaptions, uDebug, uLandTexture, uGearsHedgehog, uGearsUtils, uGearsList, uGearsHandlersRope @@ -172,7 +173,7 @@ if GameTicks = NewTurnTick then begin ScriptCall('onNewTurn'); -{$IFDEF SDL2} +{$IFDEF USE_TOUCH_INTERFACE} uTouch.NewTurnBeginning(); {$ENDIF} end;