TSAGE: Bugfix for being able to leave Child Protective Services offices
This commit is contained in:
parent
31d1385d65
commit
bdfdac7bfa
2 changed files with 9 additions and 0 deletions
|
@ -2542,6 +2542,14 @@ void Scene590::process(Event &event) {
|
|||
}
|
||||
}
|
||||
|
||||
void Scene590::dispatch() {
|
||||
if (!_action && (BF_GLOBALS._player._position.x < 182) && (BF_GLOBALS._player._position.y > 158)) {
|
||||
BF_GLOBALS._player.disableControl();
|
||||
_sceneMode = 2;
|
||||
setAction(&_sequenceManager, this, 5901, &BF_GLOBALS._player, NULL);
|
||||
}
|
||||
}
|
||||
|
||||
} // End of namespace BlueForce
|
||||
|
||||
} // End of namespace TsAGE
|
||||
|
|
|
@ -397,6 +397,7 @@ public:
|
|||
virtual void postInit(SceneObjectList *OwnerList = NULL);
|
||||
virtual void signal();
|
||||
virtual void process(Event &event);
|
||||
virtual void dispatch();
|
||||
};
|
||||
|
||||
} // End of namespace BlueForce
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue