Skip to content

Commit

Permalink
Update end sequence controller and stop backflipping immediately in e…
Browse files Browse the repository at this point in the history
…nd equence.

SVN-Revision: 6589
  • Loading branch information
Mathnerd314 committed Mar 10, 2010
1 parent 806e78a commit 026504c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/object/endsequence.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ EndSequence::starting()
void
EndSequence::running(float /*elapsed_time*/)
{
end_sequence_controller->update();
}

void
Expand Down
2 changes: 2 additions & 0 deletions src/object/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,8 @@ void
Player::trigger_sequence(std::string sequence_name)
{
if (climbing) stop_climbing(*climbing);
backflipping = false;
backflip_direction = 0;
GameSession::current()->start_sequence(sequence_name);
}

Expand Down

0 comments on commit 026504c

Please sign in to comment.