Skip to content

Commit

Permalink
Fix broken tux santa sprite (how did this slip in here)
Browse files Browse the repository at this point in the history
  • Loading branch information
MatusGuy committed Aug 13, 2024
1 parent 7aad14c commit 3e0030c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/supertux/levelintro.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -234,16 +234,17 @@ LevelIntro::push_player()
if (m_player_status.bonus[i] == FIRE_BONUS && g_config->christmas_mode)
{
m_player_sprite[i]->set_action("big-walk-right");
m_santa_sprite[i]->set_action("santa-walk-right");
m_santa_sprite[i]->set_action("default");
}
else
{
m_player_sprite[i]->set_action(m_player_status.get_bonus_prefix(i) + "-walk-right");
}

m_player_sprite_jump_timer[i]->start(graphicsRandom.randf(5,10));

/* Set Tux powerup sprite action */
m_santa_sprite[i]->set_action(m_player_sprite[i]->get_action());
//m_santa_sprite[i]->set_action(m_player_sprite[i]->get_action());
}

void
Expand Down

0 comments on commit 3e0030c

Please sign in to comment.