branch | sdl2transition |
changeset 11367 | a91c4c4fd85c |
parent 11362 | ed5a6478e710 |
child 11475 | 1d478892cf1c |
--- a/hedgewars/uAI.pas Wed Nov 11 20:50:01 2015 +0100 +++ b/hedgewars/uAI.pas Wed Nov 11 21:59:06 2015 +0100 @@ -530,7 +530,7 @@ FillBonuses(((Me^.State and gstAttacked) <> 0) and (not isInMultiShoot)); SDL_LockMutex(ThreadLock); -ThinkThread:= SDL_CreateThread(@Think, 'think', Me); +ThinkThread:= SDL_CreateThread(@Think, PChar('think'), Me); SDL_UnlockMutex(ThreadLock); end;