mirror of https://github.com/OpenTTD/OpenTTD
(svn r24970) -Fix [FS#5346]: crash when infinite loop occured during loading a script
parent
495b7fa1eb
commit
124f0fc7a3
|
@ -1190,7 +1190,7 @@ bool SQVM::CallNative(SQNativeClosure *nclosure,SQInteger nargs,SQInteger stackb
|
||||||
throw;
|
throw;
|
||||||
}
|
}
|
||||||
|
|
||||||
assert(cstksize == _callsstacksize);
|
_callsstacksize = cstksize;
|
||||||
|
|
||||||
_nnativecalls--;
|
_nnativecalls--;
|
||||||
suspend = false;
|
suspend = false;
|
||||||
|
|
Loading…
Reference in New Issue