mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-26 04:35:16 +00:00
MOHAWK: Fix typo in script builder function
This commit is contained in:
parent
8eadac5eed
commit
84e761aef8
@ -167,7 +167,7 @@ RivenScriptPtr RivenScriptManager::createScriptFromData(uint commandCount, ...)
|
||||
uint16 argumentCount = va_arg(args, int);
|
||||
writeStream.writeUint16BE(argumentCount);
|
||||
|
||||
for (uint j = 0; j < commandCount; j++) {
|
||||
for (uint j = 0; j < argumentCount; j++) {
|
||||
uint16 argument = va_arg(args, int);
|
||||
writeStream.writeUint16BE(argument);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user