From 56c8a2295b2a694182844de4383d8f4afdc3117b Mon Sep 17 00:00:00 2001 From: aurhat Date: Sat, 3 May 2014 15:16:57 +0200 Subject: [PATCH] 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. --- source/src/clients2c.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/clients2c.cpp b/source/src/clients2c.cpp index 6f9b3529..5deacb13 100644 --- a/source/src/clients2c.cpp +++ b/source/src/clients2c.cpp @@ -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; }