From 0fd4ba2d2bde6f51b3e97c7261be15e2819c8448 Mon Sep 17 00:00:00 2001 From: Mario Date: Tue, 8 Oct 2013 22:56:32 -0700 Subject: [PATCH] Fix undefined null turret --- qcsrc/common/turrets/turrets.qh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qcsrc/common/turrets/turrets.qh b/qcsrc/common/turrets/turrets.qh index 9f90d3e520..5491746e9c 100644 --- a/qcsrc/common/turrets/turrets.qh +++ b/qcsrc/common/turrets/turrets.qh @@ -150,7 +150,7 @@ const float TNSF_FULL_UPDATE = 16777215; // Turret Registration // ===================== -float m_null(float dummy); +float t_null(float dummy); void register_turret(float id, float(float) func, float turretflags, vector min_s, vector max_s, string modelname, string headmodelname, string shortname, string mname); void register_turrets_done(); @@ -171,7 +171,7 @@ float TUR_LAST; ACCUMULATE_FUNCTION(RegisterTurrets, RegisterTurrets_##id) #ifdef MENUQC #define REGISTER_TURRET(id,func,turretflags,min_s,max_s,modelname,headmodelname,shortname,mname) \ - REGISTER_TURRET_2(TUR_##id,m_null,turretflags,min_s,max_s,modelname,headmodelname,shortname,mname) + REGISTER_TURRET_2(TUR_##id,t_null,turretflags,min_s,max_s,modelname,headmodelname,shortname,mname) #else #define REGISTER_TURRET(id,func,turretflags,min_s,max_s,modelname,headmodelname,shortname,mname) \ REGISTER_TURRET_2(TUR_##id,func,turretflags,min_s,max_s,modelname,headmodelname,shortname,mname) -- 2.39.2