diff options
author | Paul Gilbert | 2012-09-30 21:21:09 +1000 |
---|---|---|
committer | Paul Gilbert | 2012-09-30 21:21:09 +1000 |
commit | 84e07ae7253217c4b1ad650abdef57ffaa6b0032 (patch) | |
tree | e5ca389cd7366cf43b347ab7bfbef4c02df5c282 /engines/hopkins/events.cpp | |
parent | 8fa33e7714fca1aeb80834ee5d97bcfdf8a3efb1 (diff) | |
download | scummvm-rg350-84e07ae7253217c4b1ad650abdef57ffaa6b0032.tar.gz scummvm-rg350-84e07ae7253217c4b1ad650abdef57ffaa6b0032.tar.bz2 scummvm-rg350-84e07ae7253217c4b1ad650abdef57ffaa6b0032.zip |
HOPKINS: Changed all __int16 to int
Diffstat (limited to 'engines/hopkins/events.cpp')
-rw-r--r-- | engines/hopkins/events.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/hopkins/events.cpp b/engines/hopkins/events.cpp index 9482b4ce09..1dda365518 100644 --- a/engines/hopkins/events.cpp +++ b/engines/hopkins/events.cpp @@ -240,13 +240,13 @@ void EventsManager::VBL() { _vm->_objectsManager.AFF_SPRITES(); /* int a1 = 0; - signed __int16 v1; + signed int v1; int v2; int v3; int v4; int v5; int v6; - signed __int16 v7; + signed int v7; int v10; signed int v11 = 0; signed int v12 = 0; @@ -303,9 +303,9 @@ void EventsManager::VBL() { } else { if (v15 < min_x) v15 = min_x - v1; - v2 = (signed __int16)v2; - if (_vm->_eventsManager.souris_y < min_y - (signed __int16)v2) - a1 = min_y - (signed __int16)v2; + //v2 = v2; + if (_vm->_eventsManager.souris_y < min_y - v2) + a1 = min_y - v2; if (_vm->_eventsManager.souris_sizex + v15 >= max_x) v14 = _vm->_eventsManager.souris_sizex - (_vm->_eventsManager.souris_sizex + v15 - max_x - v1); if (a1 + _vm->_eventsManager.souris_sizey < v2 + max_y) |