From ce79ff4f2e53fa577a0c221de6423561e827cab2 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Wed, 1 May 2013 07:47:56 +0200 Subject: SCUMM: Change NUM_SCRIPT_LOCALS to NUM_SCRIPT_LOCAL For consistency with NUM_SCRIPT_SLOT. --- engines/scumm/script.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/scumm/script.h') diff --git a/engines/scumm/script.h b/engines/scumm/script.h index dd7368c196..74ffaaf426 100644 --- a/engines/scumm/script.h +++ b/engines/scumm/script.h @@ -74,7 +74,7 @@ struct OpcodeEntry : Common::NonCopyable { */ enum { NUM_SCRIPT_SLOT = 80, - NUM_SCRIPT_LOCALS = 25 + NUM_SCRIPT_LOCAL = 25 }; /* Script status type (slot.status) */ @@ -125,7 +125,7 @@ struct VirtualMachineState { byte cutSceneStackPointer; ScriptSlot slot[NUM_SCRIPT_SLOT]; // Why does localvar have space for one extra local variable? - int32 localvar[NUM_SCRIPT_SLOT][NUM_SCRIPT_LOCALS + 1]; + int32 localvar[NUM_SCRIPT_SLOT][NUM_SCRIPT_LOCAL + 1]; NestedScript nest[kMaxScriptNesting]; byte numNestedScripts; -- cgit v1.2.3