mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-03 15:21:40 +00:00
WINTERMUTE: Fix the final int->int32 to allow AmigaOS4-compile.
This commit is contained in:
parent
be0f082ab6
commit
b97edfcbe0
@ -941,7 +941,7 @@ void AdObject::talk(const char *text, const char *sound, uint32 duration, const
|
||||
|
||||
// set duration by text length
|
||||
if (_sentence->_duration <= 0) {// TODO: Avoid longs.
|
||||
_sentence->_duration = MAX((size_t)1000, _gameRef->_subtitlesSpeed * strlen(_sentence->_text));
|
||||
_sentence->_duration = MAX<int32>((size_t)1000, _gameRef->_subtitlesSpeed * strlen(_sentence->_text));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user