Skip to content

Commit

Permalink
Fix compiler warning in player.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
tobbi committed Apr 11, 2015
1 parent d5c854d commit 8b167fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/object/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1688,7 +1688,7 @@ Player::set_edit_mode(bool enable)
void
Player::start_climbing(Climbable& climbable)
{
if (climbing || !&climbable) return;
if (climbing || !climbable) return;

climbing = &climbable;
physic.enable_gravity(false);
Expand Down

0 comments on commit 8b167fa

Please sign in to comment.