Skip to content

Commit

Permalink
Revert "Fix compiler warning in player.cpp"
Browse files Browse the repository at this point in the history
This reverts commit 8b167fa.
  • Loading branch information
tobbi committed Apr 11, 2015
1 parent f3dc3d6 commit 17e0368
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 17e0368

Please sign in to comment.