[Doors] Improvements to door manipulation (#2370)

This commit is contained in:
Chris Miles authored and GitHub committed 2022-08-13 18:16:55 -05:00
1 parent aa2b7f8947
commit b79e1947f1
6 files changed
+701 -736

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@
*/
void NpcScaleManager::ScaleNPC(NPC *npc)
{
if (npc->IsSkipAutoScale()) {
if (npc->IsSkipAutoScale() || npc->GetNPCTypeID() == 0) {
return;
}