mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-12 04:36:15 +00:00
fixed actors bug after all demo passed
svn-id: r17717
This commit is contained in:
parent
c46ea8bc40
commit
89c0e7a69c
@ -597,6 +597,8 @@ void Actor::updateActorsScene(int actorsEntrance) {
|
||||
_protagonist->location.z = sceneEntry->location.z * ACTOR_LMULT;
|
||||
}
|
||||
_protagonist->facingDirection = _protagonist->actionDirection = sceneEntry->facing;
|
||||
} else {
|
||||
warning("actorsEntrance < 0");
|
||||
}
|
||||
|
||||
_protagonist->currentAction = kActionWait;
|
||||
|
@ -190,7 +190,7 @@ int Scene::startScene() {
|
||||
scene_qdat = queueIterator.operator->();
|
||||
assert(scene_qdat != NULL);
|
||||
|
||||
loadScene(scene_qdat->scene_n, scene_qdat->load_flag, scene_qdat->scene_proc, scene_qdat->sceneDescription, scene_qdat->fadeType, -1);
|
||||
loadScene(scene_qdat->scene_n, scene_qdat->load_flag, scene_qdat->scene_proc, scene_qdat->sceneDescription, scene_qdat->fadeType, 0);
|
||||
|
||||
return SUCCESS;
|
||||
}
|
||||
@ -229,7 +229,7 @@ int Scene::nextScene() {
|
||||
scene_qdat = queueIterator.operator->();
|
||||
assert(scene_qdat != NULL);
|
||||
|
||||
loadScene(scene_qdat->scene_n, scene_qdat->load_flag, scene_qdat->scene_proc, scene_qdat->sceneDescription, scene_qdat->fadeType, -1);
|
||||
loadScene(scene_qdat->scene_n, scene_qdat->load_flag, scene_qdat->scene_proc, scene_qdat->sceneDescription, scene_qdat->fadeType, 0);
|
||||
|
||||
return SUCCESS;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user