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:
aurhat
2014-05-15 17:35:08 +02:00
committed by ac-stef
parent 126c5325d5
commit 56c8a2295b
+1 -1
View File
@@ -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;
}