mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-06-26 06:59:56 +01:00
parent
8706dcd9c1
commit
4eb368c786
@ -832,7 +832,7 @@ SQInteger ScriptList::_nexti(HSQUIRRELVM vm)
|
||||
SQInteger idx;
|
||||
sq_getinteger(vm, 2, &idx);
|
||||
|
||||
int val = this->Next();
|
||||
SQInteger val = this->Next();
|
||||
if (this->IsEnd()) {
|
||||
sq_pushnull(vm);
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user