Fix lets to disable a roll of remote players.
This is fix of https://github.com/assaultcube/AC/issues/16 . Btw sending permanently the rolls of remote players is waste of bandwidth and money of server owners, so this pointless feature should be ultimately removed. But untill it won't, the fix should be implemented, in order to not annoy players spectated other players.
This commit is contained in:
@@ -228,7 +228,7 @@ void parsepositions(ucharbuf &p)
|
||||
// when playing a demo spectate first player we know about
|
||||
if(player1->isspectating() && player1->spectatemode==SM_NONE) togglespect();
|
||||
extern void clamproll(physent *pl);
|
||||
if(maxrollremote) clamproll((physent *) d);
|
||||
clamproll((physent *) d);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user