fixed the animation of dice made angry
This commit is contained in:
parent
ad753b12ca
commit
00142c949c
4
game.cpp
4
game.cpp
|
@ -382,7 +382,6 @@ EX void pushThumper(const movei& mi) {
|
||||||
else if(among(w, waRichDie, waHappyDie)) {
|
else if(among(w, waRichDie, waHappyDie)) {
|
||||||
th->wall = waNone;
|
th->wall = waNone;
|
||||||
cto->wall = w;
|
cto->wall = w;
|
||||||
animateMovement(mi, LAYER_BOAT);
|
|
||||||
dice::roll(mi);
|
dice::roll(mi);
|
||||||
if(w == waRichDie && dice::data[cto].happy() > 0) {
|
if(w == waRichDie && dice::data[cto].happy() > 0) {
|
||||||
cto->wall = waHappyDie;
|
cto->wall = waHappyDie;
|
||||||
|
@ -399,7 +398,10 @@ EX void pushThumper(const movei& mi) {
|
||||||
cto->wall = waNone;
|
cto->wall = waNone;
|
||||||
cto->stuntime = 5;
|
cto->stuntime = 5;
|
||||||
addMessage(XLAT("You have made a Happy Die angry!"));
|
addMessage(XLAT("You have made a Happy Die angry!"));
|
||||||
|
animateMovement(mi, LAYER_SMALL);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
animateMovement(mi, LAYER_BOAT);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
cto->wall = w;
|
cto->wall = w;
|
||||||
|
|
Loading…
Reference in New Issue