forked from mirror/OpenTTD
@@ -832,7 +832,7 @@ SQInteger ScriptList::_nexti(HSQUIRRELVM vm)
|
|||||||
SQInteger idx;
|
SQInteger idx;
|
||||||
sq_getinteger(vm, 2, &idx);
|
sq_getinteger(vm, 2, &idx);
|
||||||
|
|
||||||
int val = this->Next();
|
SQInteger val = this->Next();
|
||||||
if (this->IsEnd()) {
|
if (this->IsEnd()) {
|
||||||
sq_pushnull(vm);
|
sq_pushnull(vm);
|
||||||
return 1;
|
return 1;
|
||||||
|
Reference in New Issue
Block a user