branch | hedgeroid |
changeset 6336 | cf4c65f9cbbe |
parent 6328 | d14adf1c7721 |
child 6338 | 633af6fec34f |
--- a/hedgewars/uAI.pas Sat Nov 12 17:27:47 2011 +0100 +++ b/hedgewars/uAI.pas Sat Nov 12 17:55:23 2011 +0100 @@ -320,7 +320,7 @@ //TODO: sdl_thread works on device but crashes in simulator, most likely because of outdated toolchain BeginThread(@Think, Me, ThinkThread); {$ELSE} -ThinkThread := SDL_CreateThread(@Think, Me); +ThinkThread := SDL_CreateThread(@Think, nil, Me); {$ENDIF} AddFileLog('Thread started'); end;