From a098448e8993eb75842d0e77f43d7ee5c2960e77 Mon Sep 17 00:00:00 2001 From: Misa Date: Tue, 8 Sep 2020 00:57:29 -0700 Subject: [PATCH] Remove unused variable from gamestate 115 For some reason it called obj.getplayer() and did nothing with the result. Weird. But it does say "Test script for space station" above. Removing this fixes an 'unused variable' warning. --- desktop_version/src/Game.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/desktop_version/src/Game.cpp b/desktop_version/src/Game.cpp index 49d842ac..81c44b0f 100644 --- a/desktop_version/src/Game.cpp +++ b/desktop_version/src/Game.cpp @@ -1558,11 +1558,8 @@ void Game::updatestate() // // Test script for space station, totally delete me! // - { - int i = obj.getplayer(); hascontrol = false; state++; - } break; case 116: advancetext = true;