diff options
| author | Paweł Kołodziejski | 2003-07-19 14:26:25 +0000 |
|---|---|---|
| committer | Paweł Kołodziejski | 2003-07-19 14:26:25 +0000 |
| commit | 2d48186c038191febc30d3a0b3c652a31484212b (patch) | |
| tree | 8c992bb2637dd1852a235f202db0effb52dfb38e /scumm/string.cpp | |
| parent | e68d371e6238972ab8aae6715ee01dec94f72861 (diff) | |
| download | scummvm-rg350-2d48186c038191febc30d3a0b3c652a31484212b.tar.gz scummvm-rg350-2d48186c038191febc30d3a0b3c652a31484212b.tar.bz2 scummvm-rg350-2d48186c038191febc30d3a0b3c652a31484212b.zip | |
added vc7 files and fixed warnings. vc6 is no longer supported by me
svn-id: r9077
Diffstat (limited to 'scumm/string.cpp')
| -rw-r--r-- | scumm/string.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/string.cpp b/scumm/string.cpp index 167d3e4ea2..670465345d 100644 --- a/scumm/string.cpp +++ b/scumm/string.cpp @@ -101,7 +101,7 @@ void Scumm::CHARSET_1() { if (VAR(VAR_V5_TALK_STRING_Y) < 0) { s = (a->scaley * (int)VAR(VAR_V5_TALK_STRING_Y)) / 0xFF; - _string[0].ypos = ((VAR(VAR_V5_TALK_STRING_Y) - s) >> 1) + s - a->elevation + a->y; + _string[0].ypos = (int)(((VAR(VAR_V5_TALK_STRING_Y) - s) >> 1) + s - a->elevation + a->y); } else { _string[0].ypos = (int)VAR(VAR_V5_TALK_STRING_Y); } |
