Magic-number elimination.
[open-adventure.git] / actions.c
index aa63f6c83bfe09eafe2c61704fcfb151fd999e45..ad91e03b9516c537759e4f04001b8261cdf3a3b2 100644 (file)
--- a/actions.c
+++ b/actions.c
@@ -174,11 +174,11 @@ static void blast(void)
     if (game.prop[ROD2] < 0 || !game.closed)
        RSPEAK(REQUIRES_DYNAMITE);
     else {
-       game.bonus=133;
+       game.bonus=VICTORY_MESSAGE;
        if (game.loc == LOC_NE)
-           game.bonus=134;
+           game.bonus=DEFEAT_MESSAGE;
        if (HERE(ROD2))
-           game.bonus=135;
+           game.bonus=SPLATTER_MESSAGE;
        RSPEAK(game.bonus);
        score(endgame);
     }