X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fdefs.qh;h=54d1ed041f3afda186a7689a674ea572e3a0612b;hb=7c23ed5b3de9accee0ebceba1b5e207af57e39c2;hp=7c26399af795ea52da147dd675574140b1f186f9;hpb=f19182bb895ceff0b85a38d663576cc3cff873a5;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/defs.qh b/qcsrc/server/defs.qh index 7c26399af..54d1ed041 100644 --- a/qcsrc/server/defs.qh +++ b/qcsrc/server/defs.qh @@ -347,7 +347,7 @@ float next_pingtime; .float Version; .int SendFlags; -.float(entity to, float sendflags) SendEntity; +.bool(entity to, int sendflags) SendEntity; // player sounds, voice messages // TODO implemented fall and falling @@ -519,7 +519,7 @@ string matchid; .float stat_leadlimit; -float radar_showennemies; +bool radar_showennemies; #ifdef PROFILING float client_cefc_accumulator; @@ -527,7 +527,7 @@ float client_cefc_accumulatortime; #endif .float weapon_load[WEP_MAXCOUNT]; -.float ammo_none; // used by the reloading system, must always be 0 +.int ammo_none; // used by the reloading system, must always be 0 .float clip_load; .float old_clip_load; .float clip_size; @@ -539,7 +539,7 @@ float client_cefc_accumulatortime; .float vortex_chargepool_ammo; .float hagar_load; -.float grab; // 0 = can't grab, 1 = owner can grab, 2 = owner and team mates can grab, 3 = anyone can grab +.int grab; // 0 = can't grab, 1 = owner can grab, 2 = owner and team mates can grab, 3 = anyone can grab #define PROJECTILE_MAKETRIGGER(e) (e).solid = SOLID_CORPSE; (e).dphitcontentsmask = DPCONTENTS_SOLID | DPCONTENTS_BODY | DPCONTENTS_CORPSE // when doing this, hagar can go through clones