From 6ae00a28bf2f4ff5414ac51b3d987bf9600d39df Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Verschelde?= Date: Mon, 23 Jan 2017 18:13:50 +0100 Subject: [PATCH] Workaround GCC issue with mvt keys in tutorial Fixes #64. --- Source/Tutorial.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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: -- 2.39.2