From 1cbe175a74099a4ca54503933b12c84352a98e82 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Fri, 4 Oct 2013 17:55:40 +0200 Subject: AVALANCHE: Fix naming conventions in getItem() --- engines/avalanche/avalot.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/engines/avalanche/avalot.cpp b/engines/avalanche/avalot.cpp index ef33b4c563..f45341ea34 100644 --- a/engines/avalanche/avalot.cpp +++ b/engines/avalanche/avalot.cpp @@ -1567,7 +1567,7 @@ Common::String AvalancheEngine::getItem(byte which) { "an onion" }; - Common::String get_better_result; + Common::String result; if (which > 150) which -= 149; @@ -1577,28 +1577,28 @@ Common::String AvalancheEngine::getItem(byte which) { case 0: case 1: case 4: - get_better_result = items[which - 1]; + result = items[which - 1]; break; case 3: - get_better_result = "some vinegar"; + result = "some vinegar"; break; } break; case kObjectOnion: if (_rottenOnion) - get_better_result = "a rotten onion"; + result = "a rotten onion"; else if (_onionInVinegar) - get_better_result = "a pickled onion (in the vinegar)"; + result = "a pickled onion (in the vinegar)"; else - get_better_result = items[which - 1]; + result = items[which - 1]; break; default: if ((which < kObjectNum) && (which > 0)) - get_better_result = items[which - 1]; + result = items[which - 1]; else - get_better_result = ""; + result = ""; } - return get_better_result; + return result; } Common::String AvalancheEngine::f5Does() { -- cgit v1.2.3