Skip to content

Commit

Permalink
AGI: Remove Gold Rush workaround, no longer needed
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Kiewitz committed Feb 3, 2016
1 parent 563d890 commit 9fecbe5
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions engines/agi/op_cmd.cpp
Expand Up @@ -263,18 +263,6 @@ void cmdNewRoom(AgiGame *state, AgiEngine *vm, uint8 *parameter) {
uint16 newRoomNr = parameter[0];

state->_vm->newRoom(newRoomNr);

// WORKAROUND: Works around intro skipping bug (#1737343) in Gold Rush.
// Intro was skipped because the enter-keypress finalizing the entering
// of the copy protection string (Copy protection is in logic.128) was
// left over to the intro scene (Starts with room 73 i.e. logic.073).
// The intro scene checks for any keys pressed and if it finds any it
// jumps to the game's start (Room 1 i.e. logic.001). We clear the
// keyboard buffer when the intro sequence's first room (Room 73) is
// loaded so that no keys from the copy protection scene can be left
// over to cause the intro to skip to the game's start.
if (getGameID() == GID_GOLDRUSH && newRoomNr == 73)
state->keypress = 0;
}

void cmdNewRoomF(AgiGame *state, AgiEngine *vm, uint8 *parameter) {
Expand Down

0 comments on commit 9fecbe5

Please sign in to comment.