mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 21:07:17 +00:00
fixed Dice achievements
This commit is contained in:
parent
982377c26c
commit
805f33d8fa
2
game.cpp
2
game.cpp
@ -388,7 +388,7 @@ EX void pushThumper(const movei& mi) {
|
|||||||
if(w == waRichDie && dice::data[cto].happy() > 0) {
|
if(w == waRichDie && dice::data[cto].happy() > 0) {
|
||||||
cto->wall = waHappyDie;
|
cto->wall = waHappyDie;
|
||||||
if(cto->land == laDice && th->land == laDice) {
|
if(cto->land == laDice && th->land == laDice) {
|
||||||
items[itDice]++;
|
gainItem(itDice);
|
||||||
addMessage(XLAT("The die is now happy, and you are rewarded!"));
|
addMessage(XLAT("The die is now happy, and you are rewarded!"));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user