forked from mirror/OpenTTD
(svn r2909) Game would hang where the autosave_on_exit was activated.
- Updated VS.NET and VS6 project files changed AI files
This commit is contained in:
@@ -553,6 +553,7 @@ static inline ThreadMsg OTTD_PollThreadEvent(void) {return _message;}
|
||||
* It will stall as long as the mutex is not freed (handled) by the game */
|
||||
void OTTD_SendThreadMessage(ThreadMsg msg)
|
||||
{
|
||||
if (_exit_game) return;
|
||||
while (_message != 0) CSleep(10);
|
||||
|
||||
_message = msg;
|
||||
|
Reference in New Issue
Block a user