mirror of https://github.com/OpenTTD/OpenTTD.git
Fix 14f197c: [Script] int64 values don't fit into int (#9465)
This commit is contained in:
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