Skip to content

Commit

Permalink
Clang-tidy: cata-text-style
Browse files Browse the repository at this point in the history
  • Loading branch information
dseguin committed Jun 15, 2024
1 parent c37d0d4 commit 5977f51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11166,7 +11166,7 @@ void game::place_player_overmap( const tripoint_abs_ms &ms_dest, bool move_playe
} // else tele_from == tele_to !!!
// We've failed to teleport for some reason (probably monsters occupying destination squares).
// Let's try to recover gracefully. But also throw a warning, this is bad!
debugmsg( "Failed to place player at destination. If you see this outside of debug teleporting it is a bug." );
debugmsg( "Failed to place player at destination. If you see this outside of debug teleporting it is a bug." );
update_map( u, ms_dest.z() != tele_from.z() );
// This recursive call safely calls map::load_map() again after making sure everything has been unloaded properly.
// Basically, its only purpose it to reset the z-level to the z-level you teleported *from*. Otherwise, it's redundant after update_map
Expand Down

0 comments on commit 5977f51

Please sign in to comment.