FWGS / hlsdk-portable

Portable Half-Life SDK. GoldSource and Xash3D. Crossplatform.
https://xash.su
Other
273 stars 126 forks source link

[Big lolly] Wrong snark ammo values. #164

Closed malortie closed 3 years ago

malortie commented 3 years ago

In the original biglolly release, picking up a snark gives 3 ammo. The maximum carry value appears to be 12.

The following lines:

https://github.com/FWGS/hlsdk-xash3d/blob/cb1b9c6233ca762d4771b40f2a6534f750eb8add/dlls/weapons.h#L116

https://github.com/FWGS/hlsdk-xash3d/blob/cb1b9c6233ca762d4771b40f2a6534f750eb8add/dlls/weapons.h#L153

would need to be changed to this:

#define SNARK_MAX_CARRY       12
#define SNARK_DEFAULT_GIVE    3
nekonomicon commented 3 years ago

Thanks. Fixed.