racing:: fixed death in racing mode

This commit is contained in:
Zeno Rogue 2023-02-18 12:54:16 +01:00
parent d108f27dcf
commit e40bd436af
1 changed files with 3 additions and 1 deletions

View File

@ -2773,6 +2773,8 @@ EX void turn(int delta) {
}
}
if(pc[i]->dead && racing::on) pc[i]->vel = 0;
if(pc[i]->dead && items[itOrbLife]) {
multi::deaths[i]++;
items[itOrbLife]--;
@ -2853,7 +2855,7 @@ EX void init() {
}
if(!safety) {
items[itOrbLife] = 3;
items[itOrbLife] = racing::on ? 0 : 3;
if(!racing::on)
addMessage(XLAT("Welcome to the Shoot'em Up mode!"));
// addMessage(XLAT("F/;/Space/Enter/KP5 = fire, WASD/IJKL/Numpad = move"));