diff --git a/src/p_map.cpp b/src/p_map.cpp index 33f69f201..13e31fed2 100644 --- a/src/p_map.cpp +++ b/src/p_map.cpp @@ -6246,7 +6246,7 @@ void P_CreateSecNodeList(AActor *thing) void AActor::UpdateRenderSectorList() { static const double SPRITE_SPACE = 64.; - if (Pos() != OldRenderPos) + if (Pos() != OldRenderPos && !(flags & MF_NOSECTOR)) { sector_t *sec = Sector; double lasth = -FLT_MAX; diff --git a/src/p_maputl.cpp b/src/p_maputl.cpp index 759ab5d6c..f3dda49a9 100644 --- a/src/p_maputl.cpp +++ b/src/p_maputl.cpp @@ -499,6 +499,7 @@ void AActor::LinkToWorld(bool spawningmapthing, sector_t *sector) } } } + UpdateRenderSectorList(); } void AActor::SetOrigin(double x, double y, double z, bool moving)