mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Rename to DrawAIScriptNodes
This commit is contained in:
parent
96abdf619c
commit
28de4a96bf
@ -155,9 +155,13 @@ void DrawOverlay(OverlayBase_t* pOverlay)
|
||||
}
|
||||
|
||||
if (r_debug_overlay_wireframe->GetBool())
|
||||
{
|
||||
v_RenderWireframeSphere(pSphere->vOrigin, pSphere->flRadius, pSphere->nTheta, pSphere->nPhi, Color(pSphere->r, pSphere->g, pSphere->b, pSphere->a), false);
|
||||
}
|
||||
else
|
||||
{
|
||||
DebugDrawSphere(pSphere->vOrigin, pSphere->flRadius, Color(pSphere->r, pSphere->g, pSphere->b, pSphere->a), 16);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case OverlayType_t::OVERLAY_LINE:
|
||||
@ -217,7 +221,7 @@ void DrawOverlay(OverlayBase_t* pOverlay)
|
||||
//------------------------------------------------------------------------------
|
||||
// Purpose : draw AIN script nodes
|
||||
//------------------------------------------------------------------------------
|
||||
void DrawAIScriptNode()
|
||||
void DrawAIScriptNodes()
|
||||
{
|
||||
#ifndef CLIENT_DLL
|
||||
if (*g_pAINetwork)
|
||||
@ -259,7 +263,7 @@ void DrawAllOverlays(bool bDraw)
|
||||
}
|
||||
if (ai_script_nodes_draw->GetBool())
|
||||
{
|
||||
DrawAIScriptNode();
|
||||
DrawAIScriptNodes();
|
||||
}
|
||||
EnterCriticalSection(&*s_OverlayMutex);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user