equal
deleted
inserted
replaced
50 end; |
50 end; |
51 SDL_LockMutex(ThreadLock); |
51 SDL_LockMutex(ThreadLock); |
52 ThinkThread:= nil; |
52 ThinkThread:= nil; |
53 SDL_UnlockMutex(ThreadLock); |
53 SDL_UnlockMutex(ThreadLock); |
54 |
54 |
55 with CurrentHedgehog^ do |
55 if CurrentHedgehog <> nil then |
56 if Gear <> nil then |
56 with CurrentHedgehog^ do |
57 if BotLevel <> 0 then |
57 if Gear <> nil then |
58 StopMessages(Gear^.Message); |
58 if BotLevel <> 0 then |
|
59 StopMessages(Gear^.Message); |
59 |
60 |
60 BestActions.Count:= 0; |
61 BestActions.Count:= 0; |
61 BestActions.Pos:= 0 |
62 BestActions.Pos:= 0 |
62 end; |
63 end; |
63 |
64 |