Set air_finished to 0 while player is out of water instead of updating it to time...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / defs.qh
index 3b5acfbd0dbb57be9c6ba5d668ce1deea51c7d75..c7ed5a5681cad4810afba9c1cb36d3871be8e0eb 100644 (file)
@@ -51,7 +51,7 @@ float server_is_dedicated;
 .float  crouch;        // Crouching or not?
 
 const .float superweapons_finished = _STAT(SUPERWEAPONS_FINISHED);
-const .float air_finished_stat = _STAT(AIR_FINISHED);
+const .float air_finished = _STAT(AIR_FINISHED);
 
 .float cnt; // used in too many places
 .float count;
@@ -93,7 +93,6 @@ const float MAX_DAMAGEEXTRARADIUS = 16;
 .float railgunhitsolidbackup;
 .vector railgunhitloc;
 
-.float         air_finished;
 .float         dmgtime;
 
 .float         killcount;