From 19601855ce5a570c739c260c5bb9b60d04c07610 Mon Sep 17 00:00:00 2001 From: Nipun Garg Date: Tue, 18 Jun 2019 05:54:40 +0530 Subject: HDB: Fill out centerMapXY stubs --- engines/hdb/ai.cpp | 4 ++-- 1 file 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)) { -- cgit v1.2.3