09-25-2004, 04:36 PM
Actually, I didn't see the for loop ( I don't have the SDK, source or compiler). Everyone playing needs those conditions tested on them so I wouldn't 'return' and exit the loop prematurely. Otherwise white disc could return for some players, so I would do it your way now that I can see the whole function.
This gets executed if spawn() doesn't but I don't know much about what that does. Does maxspeed get used for spectators' camera speeds and player movement? I wouldn''t want it executed on players who don't need attributes. This is looking like a candadite for a spectate exploit fix.
Anyways, hopefully someone will fix the problem. Nothing gets done if all anybody does is talk about it.:P
Code:
if (m_hCombatants[i])
((CBaseEntity*)m_hCombatants[i])->pev->maxspeed = 320;
Anyways, hopefully someone will fix the problem. Nothing gets done if all anybody does is talk about it.:P