diff options
Diffstat (limited to 'engines/sky/logic.cpp')
-rw-r--r-- | engines/sky/logic.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/sky/logic.cpp b/engines/sky/logic.cpp index 5924197d96..c67b7fe675 100644 --- a/engines/sky/logic.cpp +++ b/engines/sky/logic.cpp @@ -23,7 +23,6 @@ * */ - #include "common/endian.h" #include "common/rect.h" #include "common/events.h" @@ -1918,7 +1917,7 @@ bool Logic::fnStartMenu(uint32 firstObject, uint32 b, uint32 c) { uint32 menuLength = 0; for (i = firstObject; i < firstObject + ARRAYSIZE(_objectList); i++) { - if ( _scriptVariables[i] ) + if (_scriptVariables[i]) _objectList[menuLength++] = _scriptVariables[i]; } _scriptVariables[MENU_LENGTH] = menuLength; |