From 1dbcd7498804f4b59280e3599e2d1c7f864a5228 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Sun, 1 Jun 2014 01:21:32 +0200 Subject: CRUISE: Reduce the scope of variables used in the for loops --- engines/cruise/script.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'engines/cruise/script.cpp') diff --git a/engines/cruise/script.cpp b/engines/cruise/script.cpp index 764a458b8f..5403c5da59 100644 --- a/engines/cruise/script.cpp +++ b/engines/cruise/script.cpp @@ -455,9 +455,7 @@ int32 opcodeType9() { // stop script } void setupFuncArray() { - int i; - - for (i = 0; i < 64; i++) { + for (int i = 0; i < 64; i++) { opcodeTypeTable[i] = NULL; } -- cgit v1.2.3