aboutsummaryrefslogtreecommitdiff
path: root/scumm/string.cpp
diff options
context:
space:
mode:
authorPaweł Kołodziejski2003-07-19 14:26:25 +0000
committerPaweł Kołodziejski2003-07-19 14:26:25 +0000
commit2d48186c038191febc30d3a0b3c652a31484212b (patch)
tree8c992bb2637dd1852a235f202db0effb52dfb38e /scumm/string.cpp
parente68d371e6238972ab8aae6715ee01dec94f72861 (diff)
downloadscummvm-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.cpp2
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);
}