Display collision volumes for actors that don't have a body

This commit is contained in:
yaz0r 2025-08-01 23:08:30 -07:00
parent 228f0856c4
commit 543e22bc78
2 changed files with 77 additions and 75 deletions

View File

@ -3071,18 +3071,6 @@ void AllRedraw(int flagFlip)
getHotPoint(actorPtr->hotPointID, bodyPtr, &actorPtr->hotPoint);
}
}
///////////////////////////////////// DEBUG
#ifdef FITD_DEBUGGER
// if(debuggerVar_drawModelZv)
{
if (backgroundMode == backgroundModeEnum_3D)
{
drawZv(actorPtr);
}
}
#endif
/////////////////////////////////////
}
}
@ -3128,6 +3116,20 @@ void AllRedraw(int flagFlip)
#ifdef FITD_DEBUGGER
{
if (backgroundMode == backgroundModeEnum_3D)
{
for (int i = 0; i < NUM_MAX_OBJECT; i++)
{
tObject* actorPtr = &ListObjets[i];
if (actorPtr->indexInWorld != -1)
{
drawZv(actorPtr);
}
}
}
/////////////////////////////////////
for (int i = 0; i < getNumberOfRoom(); i++)
{
if (hardColDisplayMode != displayNone) {