From: RĂ©mi Verschelde Date: Mon, 23 Jan 2017 17:13:50 +0000 (+0100) Subject: Workaround GCC issue with mvt keys in tutorial X-Git-Url: https://git.jsancho.org/?p=lugaru.git;a=commitdiff_plain;h=6ae00a28bf2f4ff5414ac51b3d987bf9600d39df Workaround GCC issue with mvt keys in tutorial Fixes #64. --- diff --git a/Source/Tutorial.cpp b/Source/Tutorial.cpp index 4a03437..374f052 100644 --- a/Source/Tutorial.cpp +++ b/Source/Tutorial.cpp @@ -566,11 +566,10 @@ void Tutorial::DrawTextInfo() string = "You can move the mouse to rotate the camera."; break; case 4: - string = std::string("Try using the ") + - Input::keyToChar(Game::forwardkey) + ", " + - Input::keyToChar(Game::leftkey) + ", " + - Input::keyToChar(Game::backkey) + " and " + - Input::keyToChar(Game::rightkey) + " keys to move around."; + string = std::string("Try using the ") + Input::keyToChar(Game::forwardkey); + string += std::string(", ") + Input::keyToChar(Game::leftkey); + string += std::string(", ") + Input::keyToChar(Game::backkey); + string += std::string(" and ") + Input::keyToChar(Game::rightkey) + " keys to move around."; string2 = "All movement is relative to the camera."; break; case 5: