else // Expiring soon, so fade it out.
a = (centerprint_expire_time[j] - time) / max(0.0001, autocvar_hud_panel_centerprint_fade_out);
- if(centerprint_msgID[j] == CPID_TIMEIN)
+ if(centerprint_msgID[j] == ORDINAL(CPID_TIMEIN))
a = 1;
// while counting down show it anyway in order to hold the current message position
METHOD(BallStealer, wr_reload, void(entity thiswep, entity actor, .entity weaponentity))
{
- TC(BallStealer, this);
+ TC(BallStealer, thiswep);
}
METHOD(BallStealer, wr_checkammo1, bool(BallStealer this, entity actor, .entity weaponentity))
#ifdef CSQC
NET_HANDLE(wframe, bool isNew)
{
- int fr = ReadByte();
+ WFRAME fr = ReadByte();
float t = ReadFloat();
int slot = ReadByte();
bool restartanim = ReadByte();