mirror of
https://github.com/SWG-Source/src.git
synced 2026-09-13 00:45:03 -04:00
more granular debug messages for appearances so we can know for sure which caller it is missing them
This commit is contained in:
@@ -212,6 +212,8 @@ void DoorObject::createAppearance ( DoorInfo const & info )
|
||||
|
||||
if (appearance != NULL) {
|
||||
setAppearance(appearance);
|
||||
} else {
|
||||
DEBUG_WARNING(true, ("FIX ME: Appearance template for DoorObject::createAppearance missing, first stanza."));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -237,6 +239,8 @@ void DoorObject::createAppearance ( DoorInfo const & info )
|
||||
Extent * appearanceExtent = new Extent( Containment3d::EncloseSphere(verts) );
|
||||
appearanceExtent->incrementReference();
|
||||
appearance->setExtent( appearanceExtent );
|
||||
} else {
|
||||
DEBUG_WARNING(true, ("FIX ME: Appearance template for DoorObject::createAppearance missing, second stanza."));
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -247,6 +251,8 @@ void DoorObject::createAppearance ( DoorInfo const & info )
|
||||
|
||||
if (appearance != NULL) {
|
||||
m_drawnDoor[0]->setAppearance(appearance);
|
||||
} else {
|
||||
DEBUG_WARNING(true, ("FIX ME: Appearance template for DoorObject::createAppearance missing, third stanza."));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -259,6 +265,8 @@ void DoorObject::createAppearance ( DoorInfo const & info )
|
||||
|
||||
if (appearance != NULL) {
|
||||
m_drawnDoor[1]->setAppearance(appearance);
|
||||
} else {
|
||||
DEBUG_WARNING(true, ("FIX ME: Appearance template for DoorObject::createAppearance missing, fourth stanza."));
|
||||
}
|
||||
|
||||
if (info.m_doorFlip2)
|
||||
|
||||
Reference in New Issue
Block a user