TSAGE: Bugfixes for entering BF Scene 910 - Warehouse

This commit is contained in:
Paul Gilbert 2011-10-20 20:55:12 +11:00
parent b7ab968dc7
commit 2ce9d318c5

View file

@ -2265,9 +2265,9 @@ void Scene910::signal() {
NpcMover *mover = new NpcMover();
Common::Point destPos(22, 157);
_object1.addMover(mover, &destPos, NULL);
_sceneMode = 9100;
}
_sceneMode = 9100;
setAction(&_sequenceManager1, this, 9100, &BF_GLOBALS._player, NULL);
} else if (BF_GLOBALS._sceneManager._previousScene == 935) {
_sceneMode = 9146;
@ -2790,8 +2790,9 @@ void Scene910::process(Event &event) {
void Scene910::dispatch() {
SceneExt::dispatch();
if (!_action)
if (_action)
return;
if ((_sceneMode != 14) && (BF_GLOBALS._player._position.x < 30) && (BF_GLOBALS._player._position.y > 148)) {
BF_GLOBALS._player.disableControl();
if (BF_GLOBALS._dayNumber != 5) {