diff options
author | Filippos Karapetis | 2017-03-22 04:32:23 +0200 |
---|---|---|
committer | Filippos Karapetis | 2017-03-22 04:32:23 +0200 |
commit | 93982b2ca9b67cd143f603f516570e269f28fa32 (patch) | |
tree | e07900e5f79f9b63135dd91ba228252bc409176f /engines/fullpipe/motion.cpp | |
parent | 56ec429537ee86a5e8cda0f027a21f217f1c16a2 (diff) | |
download | scummvm-rg350-93982b2ca9b67cd143f603f516570e269f28fa32.tar.gz scummvm-rg350-93982b2ca9b67cd143f603f516570e269f28fa32.tar.bz2 scummvm-rg350-93982b2ca9b67cd143f603f516570e269f28fa32.zip |
FULLPIPE: Change more object-related functions to use Common::String
Diffstat (limited to 'engines/fullpipe/motion.cpp')
-rw-r--r-- | engines/fullpipe/motion.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/fullpipe/motion.cpp b/engines/fullpipe/motion.cpp index 47d0591daa..5297b9e527 100644 --- a/engines/fullpipe/motion.cpp +++ b/engines/fullpipe/motion.cpp @@ -391,7 +391,7 @@ int MctlLadder::findObjectPos(StaticANIObject *obj) { bool MctlLadder::initMovement(StaticANIObject *ani, MctlLadderMovement *movement) { debugC(4, kDebugPathfinding, "MctlLadder::initMovement(*%d, ...)", ani->_id); - GameVar *v = g_fp->getGameLoaderGameVar()->getSubVarByName(ani->getName().c_str()); + GameVar *v = g_fp->getGameLoaderGameVar()->getSubVarByName(ani->getName()); if (!v) return false; @@ -1744,7 +1744,7 @@ bool MctlGraph::fillData(StaticANIObject *obj, MctlAni *item) { item->_obj = obj; item->_objectId = obj->_id; - GameVar *var = g_fp->getGameLoaderGameVar()->getSubVarByName(obj->_objectName.c_str()); + GameVar *var = g_fp->getGameLoaderGameVar()->getSubVarByName(obj->_objectName); if (!var) return false; |