Skip to content

Commit

Permalink
FULLPIPE: Implement startWalkTo()
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Sep 19, 2013
1 parent 3dbab52 commit 38a0c85
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion engines/fullpipe/motion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include "fullpipe/objects.h"
#include "fullpipe/motion.h"
#include "fullpipe/messages.h"
#include "fullpipe/gameloader.h"

namespace Fullpipe {

Expand Down Expand Up @@ -285,7 +286,10 @@ void ReactPolygonal::createRegion() {
}

int startWalkTo(int objId, int objKey, int x, int y, int a5) {
warning("STUB: startWalkTo(%d, %d, %d, %d, %d)", objId, objKey, x, y, a5);
MctlCompound *mc = getSc2MctlCompoundBySceneId(g_fullpipe->_currentScene->_sceneId);

if (mc)
return (mc->method34(g_fullpipe->_currentScene->getStaticANIObject1ById(objId, objKey), x, y, a5, 0) != 0);

return 0;
}
Expand Down

0 comments on commit 38a0c85

Please sign in to comment.