]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/nades.qh
shuffleteams: properly detect ca players. It fixes #1471 "Shuffleteams results in...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / nades.qh
index 5033a7d059ec2f023a6e9161fc3ae218548349dc..2b2aa857b806e9b7cd9efecb8da9b7017dcfb61e 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef NADES_H
 #define NADES_H
 
+#include "teams.qh"
+
 .float healer_lifetime;
 .float healer_radius;
 
@@ -99,16 +101,16 @@ string Nade_TrailEffect(float proj, float nade_team)
                case PROJECTILE_NADE_MONSTER: return "nade_red";
                case PROJECTILE_NADE_MONSTER_BURN: return "nade_red_burn";
        }
-       
+
        return "";
 }
 
 #ifdef SVQC
-float healer_send(entity to, float sf);
+float healer_send(entity to, int sf);
 #endif
 
 #ifdef CSQC
 // misc functions
 void ent_healer();
 #endif // CSQC
-#endif
\ No newline at end of file
+#endif