aboutsummaryrefslogtreecommitdiff
path: root/scumm/string.cpp
diff options
context:
space:
mode:
authorPaweł Kołodziejski2002-12-26 02:13:19 +0000
committerPaweł Kołodziejski2002-12-26 02:13:19 +0000
commit2046fc8217515a2caffd2f6a27521be72a345f01 (patch)
tree64fe64a5b39a863a29c9a47ae7492e1c4c493b39 /scumm/string.cpp
parentf89903a24492f2a79114cb6454c3f2049e272ff1 (diff)
downloadscummvm-rg350-2046fc8217515a2caffd2f6a27521be72a345f01.tar.gz
scummvm-rg350-2046fc8217515a2caffd2f6a27521be72a345f01.tar.bz2
scummvm-rg350-2046fc8217515a2caffd2f6a27521be72a345f01.zip
fixed compilation under VC6
svn-id: r6165
Diffstat (limited to 'scumm/string.cpp')
-rw-r--r--scumm/string.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/string.cpp b/scumm/string.cpp
index c7ea18e67e..7e0d14343c 100644
--- a/scumm/string.cpp
+++ b/scumm/string.cpp
@@ -104,7 +104,7 @@ void Scumm::CHARSET_1()
s = (a->scaley * (int)_vars[VAR_V5_TALK_STRING_Y]) / 0xFF;
_string[0].ypos = ((_vars[VAR_V5_TALK_STRING_Y] - s) >> 1) + s - a->elevation + a->y;
} else {
- _string[0].ypos = _vars[VAR_V5_TALK_STRING_Y];
+ _string[0].ypos = (int)_vars[VAR_V5_TALK_STRING_Y];
}
if (_string[0].ypos < 1)
_string[0].ypos = 1;
@@ -254,7 +254,7 @@ void Scumm::CHARSET_1()
_charset->_nextLeft = _charset->_left;
_charset->_nextTop = _charset->_top;
- _talkDelay += _vars[VAR_CHARINC];
+ _talkDelay += (int)_vars[VAR_CHARINC];
continue;
}