diff --git a/src/shared/NSEntity.h b/src/shared/NSEntity.h index d8ed2b30..6402abf6 100644 --- a/src/shared/NSEntity.h +++ b/src/shared/NSEntity.h @@ -120,10 +120,11 @@ public: virtual void Input(entity,string,string); virtual void Save(float); virtual void Restore(string,string); - - /** Called when we need to re-align the entity to our parent entity. */ virtual void ParentUpdate(void); + /* Server-side rendering function. Expensive, but useful. */ + virtual void DebugDraw(void); + /** Run each tic after physics are run to determine if we need to send updates over the network. */ virtual void EvaluateEntity(void); diff --git a/src/shared/NSEntity.qc b/src/shared/NSEntity.qc index 4b0f5179..b85c2325 100644 --- a/src/shared/NSEntity.qc +++ b/src/shared/NSEntity.qc @@ -189,6 +189,12 @@ void NSEntity::postdraw( void ) { #else +void +NSEntity::DebugDraw(void) +{ + +} + /* Make sure StartFrame calls this */ float NSEntity::SendEntity( entity ePEnt, float flChanged ) { if ( !modelindex )