diff options
author | Nipun Garg | 2019-06-18 05:54:40 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:16:47 +0200 |
commit | 19601855ce5a570c739c260c5bb9b60d04c07610 (patch) | |
tree | 4f25c5c57acf09f16089eda78c19376f2762b58d /engines/hdb | |
parent | c661f8663a2ca6ff0debc222a9fbb4a1167dba5a (diff) | |
download | scummvm-rg350-19601855ce5a570c739c260c5bb9b60d04c07610.tar.gz scummvm-rg350-19601855ce5a570c739c260c5bb9b60d04c07610.tar.bz2 scummvm-rg350-19601855ce5a570c739c260c5bb9b60d04c07610.zip |
HDB: Fill out centerMapXY stubs
Diffstat (limited to 'engines/hdb')
-rw-r--r-- | engines/hdb/ai.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hdb/ai.cpp b/engines/hdb/ai.cpp index 73db78b35e..36dbcbe7cc 100644 --- a/engines/hdb/ai.cpp +++ b/engines/hdb/ai.cpp @@ -53,7 +53,7 @@ void AI::processCines() { case C_SETCAMERA: _cameraX = (*it)->x; _cameraY = (*it)->y; - warning("STUB: Map::CenterMAPXY required"); + g_hdb->_map->centerMapXY((int) _cameraX + 16, (int) _cameraY + 16); _cameraLock = true; complete = true; break; @@ -78,7 +78,7 @@ void AI::processCines() { _cameraY = (*it)->y; complete = true; } - warning("STUB: MAP::CenterMapXY required"); + g_hdb->_map->centerMapXY((int)_cameraX + 16, (int)_cameraY + 16); break; case C_WAIT: if (!((*it)->start)) { |