mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-21 03:24:05 +00:00
roar message now uses the correct number of kills instead of 20
This commit is contained in:
2
game.cpp
2
game.cpp
@@ -2417,7 +2417,7 @@ bool attackMonster(cell *c, flagtype flags, eMonster killer) {
|
|||||||
int ntk = tkills();
|
int ntk = tkills();
|
||||||
int ntkt = killtypes();
|
int ntkt = killtypes();
|
||||||
|
|
||||||
if(tkt < 20 && ntkt >= 20) {
|
if(tkt < R20 && ntkt >= R20) {
|
||||||
addMessage(XLAT("You hear a distant roar!"));
|
addMessage(XLAT("You hear a distant roar!"));
|
||||||
playSound(NULL, "message-roar");
|
playSound(NULL, "message-roar");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user