X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ftape.c;h=2f912cff26e45a63c98338504939b5d6e0a9d964;hb=8a7afb2e699aa06f01070fce0c446545e2efc0a3;hp=becd0ad9affd199b714e7c3c663ede2383c65331;hpb=c4dd9e14b72b528e82bc018fe2fa76b784221584;p=rocksndiamonds.git diff --git a/src/tape.c b/src/tape.c index becd0ad9..2f912cff 100644 --- a/src/tape.c +++ b/src/tape.c @@ -613,7 +613,7 @@ void TapeRecordAction(byte action_raw[MAX_PLAYERS]) for (i = 0; i < MAX_PLAYERS; i++) if (tape.centered_player_nr_next == i || tape.centered_player_nr_next == -1) - action[i] |= SET_FOCUS; + action[i] |= KEY_SET_FOCUS; tape.set_centered_player = FALSE; } @@ -803,14 +803,14 @@ byte *TapePlayAction() for (i = 0; i < MAX_PLAYERS; i++) { - if (action[i] & SET_FOCUS) + if (action[i] & KEY_SET_FOCUS) { tape.set_centered_player = TRUE; tape.centered_player_nr_next = (tape.centered_player_nr_next == -999 ? i : -1); } - action[i] &= ~SET_FOCUS; + action[i] &= ~KEY_SET_FOCUS; } tape.delay_played++;