Skip to content


Browse files Browse the repository at this point in the history
Start sprite animation at the beginning (#11509)
When setting a sprite animation, do not keep the last animation's frame number. Setting a new animation should start the animation at the start of the new animation.
  • Loading branch information
Kalabasa committed Aug 16, 2021
1 parent 4419e31 commit 328d949
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/client/content_cao.cpp
Expand Up @@ -1722,6 +1722,7 @@ void GenericCAO::processMessage(const std::string &data)

m_tx_basepos = p;
m_anim_num_frames = num_frames;
m_anim_frame = 0;
m_anim_framelength = framelength;
m_tx_select_horiz_by_yawpitch = select_horiz_by_yawpitch;

Expand Down

0 comments on commit 328d949

Please sign in to comment.