CGE2: Implement Hero::fun().

This commit is contained in:
uruk 2014-06-19 12:23:00 +02:00
parent ea9b4d0729
commit 76846bf4f5

View File

@ -386,7 +386,12 @@ void Hero::reach(int mode) {
}
void Hero::fun() {
warning("STUB: Hero::fun()");
if (_vm->_commandHandler->idle()) {
park();
_vm->_commandHandler->addCommand(kCmdWait, -1, -1, this);
_vm->_commandHandler->addCommand(kCmdSeq, -1, _funStart, this);
}
_funDel = _funDel0 >> 2;
}
int Hero::len(V2D v) {