Skip to content

Commit

Permalink
make blaster.h DISABLE_TALKIE compliant (#604)
Browse files Browse the repository at this point in the history
  • Loading branch information
NoSloppy authored Dec 10, 2023
1 parent 2e3e177 commit 718a727
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions props/blaster.h
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,11 @@ class Blaster : public PROP_INHERIT_PREFIX PropBase {
} else if (SFX_mode) {
hybrid_font.PlayCommon(&SFX_mode);
} else {
#ifndef DISABLE_TALKIE
talkie.Say(spSTUN);
#else
beeper.Beep(0.05, 2000.0);
#endif
}
break;
case MODE_KILL:
Expand All @@ -452,7 +456,11 @@ class Blaster : public PROP_INHERIT_PREFIX PropBase {
} else if (SFX_mode) {
hybrid_font.PlayCommon(&SFX_mode);
} else {
#ifndef DISABLE_TALKIE
talkie.Say(spKILL);
#else
beeper.Beep(0.05, 2000.0);
#endif
}
break;
case MODE_AUTO:
Expand All @@ -461,7 +469,11 @@ class Blaster : public PROP_INHERIT_PREFIX PropBase {
} else if (SFX_mode) {
hybrid_font.PlayCommon(&SFX_mode);
} else {
#ifndef DISABLE_TALKIE
talkie.Say(spAUTOFIRE);
#else
beeper.Beep(0.05, 2000.0);
#endif
}
break;
}
Expand Down

0 comments on commit 718a727

Please sign in to comment.