diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hdb/ai-cinematic.cpp | 2 | ||||
-rw-r--r-- | engines/hdb/lua-script.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/hdb/ai-cinematic.cpp b/engines/hdb/ai-cinematic.cpp index 8f6c5c1ee3..92f4a94203 100644 --- a/engines/hdb/ai-cinematic.cpp +++ b/engines/hdb/ai-cinematic.cpp @@ -136,7 +136,7 @@ void AI::processCines() { } break; case C_SETENTITY: - warning("STUB: AI::locateEntity required"); + _cine[i]->e = locateEntity(_cine[i]->string); if (_cine[i]->e) { _cine[i]->e->tileX = (int)_cine[i]->x / kTileWidth; _cine[i]->e->x = (int)_cine[i]->x; diff --git a/engines/hdb/lua-script.cpp b/engines/hdb/lua-script.cpp index 2f2802bd4a..e8c31c4338 100644 --- a/engines/hdb/lua-script.cpp +++ b/engines/hdb/lua-script.cpp @@ -339,7 +339,7 @@ static int setEntity(lua_State *L) { g_hdb->_lua->checkParameters("setEntity", 4); lua_pop(L, 4); - warning("STUB: LuaScript setEntity: locateEntity needed"); + e = g_hdb->_ai->locateEntity(entName); if (e) { e->x = (int)x * kTileWidth; e->tileX = (int)x; @@ -349,7 +349,7 @@ static int setEntity(lua_State *L) { e->goalX = e->goalY = e->xVel = e->yVel = 0; e->state = STATE_STANDDOWN; } else { - warning("Could'nt SetEntity on '%s'", entName); + warning("Couldn't SetEntity on '%s'", entName); } return 0; } |