TSAGE: Bugfixes for entering BF Scene 910 - Warehouse
This commit is contained in:
parent
b7ab968dc7
commit
2ce9d318c5
1 changed files with 4 additions and 3 deletions
|
@ -2265,9 +2265,9 @@ void Scene910::signal() {
|
||||||
NpcMover *mover = new NpcMover();
|
NpcMover *mover = new NpcMover();
|
||||||
Common::Point destPos(22, 157);
|
Common::Point destPos(22, 157);
|
||||||
_object1.addMover(mover, &destPos, NULL);
|
_object1.addMover(mover, &destPos, NULL);
|
||||||
|
|
||||||
_sceneMode = 9100;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_sceneMode = 9100;
|
||||||
setAction(&_sequenceManager1, this, 9100, &BF_GLOBALS._player, NULL);
|
setAction(&_sequenceManager1, this, 9100, &BF_GLOBALS._player, NULL);
|
||||||
} else if (BF_GLOBALS._sceneManager._previousScene == 935) {
|
} else if (BF_GLOBALS._sceneManager._previousScene == 935) {
|
||||||
_sceneMode = 9146;
|
_sceneMode = 9146;
|
||||||
|
@ -2790,8 +2790,9 @@ void Scene910::process(Event &event) {
|
||||||
|
|
||||||
void Scene910::dispatch() {
|
void Scene910::dispatch() {
|
||||||
SceneExt::dispatch();
|
SceneExt::dispatch();
|
||||||
if (!_action)
|
if (_action)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if ((_sceneMode != 14) && (BF_GLOBALS._player._position.x < 30) && (BF_GLOBALS._player._position.y > 148)) {
|
if ((_sceneMode != 14) && (BF_GLOBALS._player._position.x < 30) && (BF_GLOBALS._player._position.y > 148)) {
|
||||||
BF_GLOBALS._player.disableControl();
|
BF_GLOBALS._player.disableControl();
|
||||||
if (BF_GLOBALS._dayNumber != 5) {
|
if (BF_GLOBALS._dayNumber != 5) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue