added missing orientation for kLoadScene event

svn-id: r46288
This commit is contained in:
Vladimir Menshakov 2009-12-08 20:39:27 +00:00
parent fce6502bd8
commit 7b82ad1a8d

View File

@ -750,6 +750,8 @@ bool Scene::processEventQueue() {
case SceneEvent::kLoadScene: {
if (current_event.scene != 0) {
init(current_event.scene, current_event.dst);
if (current_event.orientation != 0)
orientation = current_event.orientation;
sounds.clear();
} else {
//special case, empty scene