Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't print 'Node Graph out of Date' messages in non-developer mode #344

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion dlls/nodes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include "nodes_compat.h"
#include "animation.h"
#include "doors.h"
#include "game.h"

#define HULL_STEP_SIZE 16// how far the test hull moves on each step
#define NODE_HEIGHT 8 // how high to lift nodes off the ground after we drop them all (make stair/ramp mapping easier)
Expand Down Expand Up @@ -1534,7 +1535,8 @@ void CTestHull::Spawn( entvars_t *pevMasterNode )
//=========================================================
void CTestHull::DropDelay( void )
{
UTIL_CenterPrintAll( "Node Graph out of Date. Rebuilding..." );
if (g_psv_developer && g_psv_developer->value)
UTIL_CenterPrintAll( "Node Graph out of Date. Rebuilding..." );

UTIL_SetOrigin( VARS( pev ), WorldGraph.m_pNodes[0].m_vecOrigin );

Expand Down