mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-31 02:19:09 +00:00
(svn r24970) -Fix [FS#5346]: crash when infinite loop occured during loading a script
This commit is contained in:
2
src/3rdparty/squirrel/squirrel/sqvm.cpp
vendored
2
src/3rdparty/squirrel/squirrel/sqvm.cpp
vendored
@@ -1190,7 +1190,7 @@ bool SQVM::CallNative(SQNativeClosure *nclosure,SQInteger nargs,SQInteger stackb
|
||||
throw;
|
||||
}
|
||||
|
||||
assert(cstksize == _callsstacksize);
|
||||
_callsstacksize = cstksize;
|
||||
|
||||
_nnativecalls--;
|
||||
suspend = false;
|
||||
|
Reference in New Issue
Block a user