diff options
author | Joseph-Eugene Winzer | 2017-07-08 22:01:26 +0200 |
---|---|---|
committer | Thierry Crozat | 2018-01-22 23:42:08 +0000 |
commit | 87a0dd970af238e6ec7033288c0a67640a717d6e (patch) | |
tree | b4229f293f80a51487d664bd354a81d82bb0bbbc /engines | |
parent | 2c17586c76b8f73e6e6fcc883eb0520b8f68a730 (diff) | |
download | scummvm-rg350-87a0dd970af238e6ec7033288c0a67640a717d6e.tar.gz scummvm-rg350-87a0dd970af238e6ec7033288c0a67640a717d6e.tar.bz2 scummvm-rg350-87a0dd970af238e6ec7033288c0a67640a717d6e.zip |
SUPERNOVA: Fixes Message positioning
Diffstat (limited to 'engines')
-rw-r--r-- | engines/supernova/supernova.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/supernova/supernova.cpp b/engines/supernova/supernova.cpp index e5a943f9b5..6774ac7c2f 100644 --- a/engines/supernova/supernova.cpp +++ b/engines/supernova/supernova.cpp @@ -389,15 +389,15 @@ void SupernovaEngine::renderMessage(const char *text, MessagePosition position) switch (position) { case kMessageNormal: - x = rowWidthMax / 2 - 160; + x = 160 - rowWidthMax / 2; textColor = COL_MELD; break; case kMessageTop: - x = rowWidthMax / 2 - 160; + x = 160 - rowWidthMax / 2; textColor = kColorLightYellow; break; case kMessageCenter: - x = rowWidthMax / 2 - 160; + x = 160 - rowWidthMax / 2; textColor = kColorLightRed; break; case kMessageLeft: |