From de8affdec579542767cfd827f2dd19a035319d65 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Tue, 3 Jun 2014 17:39:10 +0200 Subject: CGE2: Silence some gcc warnings --- engines/cge2/hero.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/cge2/hero.cpp') diff --git a/engines/cge2/hero.cpp b/engines/cge2/hero.cpp index 151b3da475..a6c1849d60 100644 --- a/engines/cge2/hero.cpp +++ b/engines/cge2/hero.cpp @@ -120,7 +120,7 @@ Sprite *Hero::expand() { // It's very similar to Sprite's expand, but doesn't bo case kIdNear: case kIdMTake: case kIdFTake: - id = (ID)_vm->_commandHandler->com(p); + id = (ID)_vm->_commandHandler->getComId(p); if (_actionCtrl[section]._cnt) { CommandHandler::Command *c = &_ext->_actions[section][cnt[section]++]; c->_commandType = CommandType(id); -- cgit v1.2.3