diff --git a/desktop_version/src/Script.cpp b/desktop_version/src/Script.cpp index 5e7f826c..8c2315ae 100644 --- a/desktop_version/src/Script.cpp +++ b/desktop_version/src/Script.cpp @@ -597,7 +597,7 @@ void scriptclass::run( KeyPoll& key, Graphics& dwgfx, Game& game, mapclass& map, dwgfx.textboxmoveto(textx); } - if (textx == -500) + if (textx == -500 || textx == -1) { dwgfx.textboxcenterx(); } @@ -642,7 +642,7 @@ void scriptclass::run( KeyPoll& key, Graphics& dwgfx, Game& game, mapclass& map, dwgfx.textboxmoveto(textx); } - if (textx == -500) + if (textx == -500 || textx == -1) { dwgfx.textboxcenterx(); }