diff --git a/source/src/clients2c.cpp b/source/src/clients2c.cpp index 50373b6d..ff8295ca 100644 --- a/source/src/clients2c.cpp +++ b/source/src/clients2c.cpp @@ -88,6 +88,8 @@ void updatelagtime(playerent *d) extern void trydisconnect(); +VARP(maxrollremote, 0, 1, 1); // bound remote "roll" values by our maxroll?! + void parsepositions(ucharbuf &p) { int type; @@ -156,6 +158,8 @@ void parsepositions(ucharbuf &p) if(d->state==CS_LAGGED || d->state==CS_SPAWNING) d->state = CS_ALIVE; // 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); break; }