Skip to content

Commit

Permalink
Merge pull request #75459 from PatrikLundell/rubik
Browse files Browse the repository at this point in the history
Fix characters at the wrong level
  • Loading branch information
Maleclypse authored Aug 5, 2024
2 parents 709f6a9 + e46b0d1 commit 6ee8e16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mapgen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7161,7 +7161,7 @@ void map::rotate( int turns, const bool setpos_safe )
// Then we place it back from scratch
// It could be rewritten to utilize the fact that rotation shouldn't cross overmaps
shared_ptr_fast<npc> npc_ptr = overmap_buffer.remove_npc( np.getID() );
np.spawn_at_precise( tripoint_abs_ms( getabs( tripoint( new_pos, abs_sub.z() ) ) ) );
np.spawn_at_precise( tripoint_abs_ms( getabs( tripoint( new_pos, sq.z ) ) ) );
overmap_buffer.insert_npc( npc_ptr );
}
}
Expand Down

0 comments on commit 6ee8e16

Please sign in to comment.