diff options
author | Einar Johan Trøan Sømåen | 2013-10-28 18:38:17 +0100 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2013-10-28 18:38:17 +0100 |
commit | ba17ed94903d183b7f1810179db01ffb40bd530d (patch) | |
tree | a2f1476cf896c5ba575925c20e99d7f3972d9464 /engines/wintermute/ad/ad_entity.cpp | |
parent | 889c3c9801e714f7c2de7a73cc877835a0b1fed5 (diff) | |
download | scummvm-rg350-ba17ed94903d183b7f1810179db01ffb40bd530d.tar.gz scummvm-rg350-ba17ed94903d183b7f1810179db01ffb40bd530d.tar.bz2 scummvm-rg350-ba17ed94903d183b7f1810179db01ffb40bd530d.zip |
WINTERMUTE: Change BaseObject::getHeight() to return int32 instead of int.
Diffstat (limited to 'engines/wintermute/ad/ad_entity.cpp')
-rw-r--r-- | engines/wintermute/ad/ad_entity.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/ad/ad_entity.cpp b/engines/wintermute/ad/ad_entity.cpp index 2c0e13a4dc..e7471a413e 100644 --- a/engines/wintermute/ad/ad_entity.cpp +++ b/engines/wintermute/ad/ad_entity.cpp @@ -1067,7 +1067,7 @@ bool AdEntity::saveAsText(BaseDynamicBuffer *buffer, int indent) { ////////////////////////////////////////////////////////////////////////// -int AdEntity::getHeight() { +int32 AdEntity::getHeight() { if (_region && !_sprite) { return _region->_rect.bottom - _region->_rect.top; } else { |