Skip to content

Commit

Permalink
fix truncated floater messages
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen M. Cameron <stephenmcameron@gmail.com>
  • Loading branch information
smcameron committed Dec 29, 2021
1 parent 42f1792 commit fcf1d65
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions wordwarvi.c
Original file line number Diff line number Diff line change
Expand Up @@ -4773,7 +4773,8 @@ void present_move(struct game_obj_t *o)
game_state.houses_gifted++;
add_floater_message(t->x, t->y, "1000");
if (game_state.houses_gifted == NHOUSES) {
add_floater_message(t->x, t->y + 25, "All Houses visited! +1000000!");
add_floater_message(t->x, t->y + 25, "All Houses visited!");
add_floater_message(t->x, t->y + 35, "+1000000!");
game_state.score += 1000000;
}
wwviaudio_add_sound(YAY_SANTA);
Expand All @@ -4798,7 +4799,8 @@ void present_move(struct game_obj_t *o)
t->v = &house_green_vect;
add_floater_message(t->x, t->y, "1000");
if (game_state.houses_gifted == NHOUSES) {
add_floater_message(t->x, t->y + 25, "All Houses visited! +1000000!");
add_floater_message(t->x, t->y + 25, "All Houses visited!");
add_floater_message(t->x, t->y + 35, "+1000000!");
game_state.score += 1000000;
}
wwviaudio_add_sound(YAY_SANTA);
Expand Down

0 comments on commit fcf1d65

Please sign in to comment.