X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=score.c;h=7b0269d8a1c87806cdcb5763945b9d04ff5c8120;hb=d92da991062fac03934d029aa4323962a9afa7e1;hp=645a35e96a132345e6dd512496d87c9adad9d193;hpb=a57d93ce35ccdea6fa4f260bf004d6f8f9924b2f;p=open-adventure.git diff --git a/score.c b/score.c index 645a35e..7b0269d 100644 --- a/score.c +++ b/score.c @@ -65,11 +65,11 @@ void score(enum termination mode) if(game.closed) { if(game.bonus == 0) score += 10; - if(game.bonus == 135) + if(game.bonus == SPLATTER_MESSAGE) score += 25; - if(game.bonus == 134) + if(game.bonus == DEFEAT_MESSAGE) score += 30; - if(game.bonus == 133) + if(game.bonus == VICTORY_MESSAGE) score += 45; } mxscor += 45;