// It is currently disabled because of issues with engine movement prediction (cl_movement).\r
// The engine expects the bounding box to be default size, and changing it will cause glitches.\r
// This code may be enabled once the engine has the ability to use different bbox sizes for movement prediction.\r
- /*if(self.crouch)\r
- setsize (self, PL_CROUCH_MIN * self.scale, PL_CROUCH_MAX * self.scale);\r
+ if(self.crouch)\r
+ {\r
+ //setsize (self, PL_CROUCH_MIN * self.scale, PL_CROUCH_MAX * self.scale);\r
+ self.view_ofs = PL_CROUCH_VIEW_OFS * self.scale;\r
+ }\r
else\r
- setsize (self, PL_MIN * self.scale, PL_MAX * self.scale);*/\r
+ {\r
+ //setsize (self, PL_MIN * self.scale, PL_MAX * self.scale);\r
+ self.view_ofs = PL_VIEW_OFS * self.scale;\r
+ }\r
}\r
\r
void ObserverThink()\r