self.origin_z = (1 - self.scale) * cvar("g_healthsize_weapon_scalefactor_pos");\r
\r
// copy properties to the static weapon entity as well\r
- self.weaponentity.scale = self.scale;\r
- self.weaponentity.origin = self.origin;\r
+ if(self.weaponentity != world) // prevents assignment to world\r
+ {\r
+ self.weaponentity.scale = self.scale;\r
+ self.weaponentity.origin = self.origin;\r
+ }\r
}\r
};\r
\r
\r
- 0.7: When a player sound has less volume because the player is in a belly, make sure that doesn't apply to neighboring prey, because they are there too\r
\r
-- 0.7 BUG: Fix assignment to world.scale when there is no weapon model in hand\r
-\r
- 0.7: I set a different horizontal and vertical view bobbing, but the menu sliders adjust both to the same value. Fix this somehow
\ No newline at end of file