Current room is now correctly refreshed after showing credits

svn-id: r29278
This commit is contained in:
Paul Gilbert 2007-10-28 04:28:27 +00:00
parent cb302b244b
commit e4125a0368

View File

@ -838,6 +838,7 @@ void Game::doShowCredits() {
Events &events = Events::getReference();
Mouse &mouse = Mouse::getReference();
Screen &screen = Screen::getReference();
Room &room = Room::getReference();
Sound.pause();
mouse.cursorOff();
@ -849,8 +850,7 @@ void Game::doShowCredits() {
events.waitForPress();
screen.resetPalette();
screen.update();
room.setRoomNumber(room.roomNumber());
mouse.cursorOn();
Sound.resume();
}