sendflags = sendflags & 0x7F;
- if (g_nexball)
- sendflags &= ~0x80;
- else if (self.max_health || (self.pain_finished && (time < self.pain_finished + 0.25)))
+ if (self.max_health || (self.pain_finished && (time < self.pain_finished + 0.25)))
sendflags |= 0x80;
- WriteByte(MSG_ENTITY, sendflags);
- WriteByte(MSG_ENTITY, self.wp_extra);
-
int f = 0;
if(self.currentammo)
f |= 1; // hideable
MUTATOR_CALLHOOK(SendWaypoint, this, to, sendflags, f);
+ WriteByte(MSG_ENTITY, sendflags);
+ WriteByte(MSG_ENTITY, self.wp_extra);
+
if (sendflags & 0x80)
{
if (self.max_health)
/**/ i(entity, __self) \
/**/ i(entity, wp_sendto) \
/**/ i(int, wp_sendflags) \
+ /**/ o(int, wp_sendflags) \
/**/ i(int, wp_flag) \
+ /**/ o(int, wp_flag) \
/**/
entity wp_sendto;
int wp_sendflags;