branch | qmlfrontend |
changeset 11408 | b894922d58cc |
parent 11358 | a91c4c4fd85c |
child 11480 | 1d478892cf1c |
--- a/hedgewars/uAI.pas Tue Sep 08 19:20:58 2015 +0300 +++ b/hedgewars/uAI.pas Mon Nov 16 22:57:24 2015 +0300 @@ -530,7 +530,7 @@ FillBonuses(((Me^.State and gstAttacked) <> 0) and (not isInMultiShoot)); SDL_LockMutex(ThreadLock); -ThinkThread:= SDL_CreateThread(@Think{$IFDEF SDL2}, 'think'{$ENDIF}, Me); +ThinkThread:= SDL_CreateThread(@Think, PChar('think'), Me); SDL_UnlockMutex(ThreadLock); end;