]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix undefined null turret
authorMario <mario.mario@y7mail.com>
Wed, 9 Oct 2013 05:56:32 +0000 (22:56 -0700)
committerMario <mario.mario@y7mail.com>
Wed, 9 Oct 2013 05:56:32 +0000 (22:56 -0700)
qcsrc/common/turrets/turrets.qh

index 9f90d3e520644af12ba58e548188d655dc339201..5491746e9c32dc0728a77d33b8111e22e34ccd63 100644 (file)
@@ -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)