Skip to content

Commit fd6e5f4

Browse files
authored
[Fix] Zone State Position Fix (#4784)
1 parent d00125a commit fd6e5f4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

zone/zone_save_state.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,9 @@ inline void LoadNPCState(Zone *zone, NPC *n, ZoneStateSpawnsRepository::ZoneStat
342342
n->Depop();
343343
}
344344
}
345-
345+
346+
n->SetPosition(s.x, s.y, s.z);
347+
n->SetHeading(s.heading);
346348
n->SetResumedFromZoneSuspend(true);
347349
}
348350

0 commit comments

Comments
 (0)