mirror of https://github.com/yaz0r/FITD.git
Display collision volumes for actors that don't have a body
This commit is contained in:
parent
228f0856c4
commit
543e22bc78
|
@ -3071,18 +3071,6 @@ void AllRedraw(int flagFlip)
|
||||||
getHotPoint(actorPtr->hotPointID, bodyPtr, &actorPtr->hotPoint);
|
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
|
#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++)
|
for (int i = 0; i < getNumberOfRoom(); i++)
|
||||||
{
|
{
|
||||||
if (hardColDisplayMode != displayNone) {
|
if (hardColDisplayMode != displayNone) {
|
||||||
|
|
Loading…
Reference in New Issue