Open malortie opened 3 years ago
The reload duration is specified as the last parameter:
https://github.com/jlecorre/hlinvasion/blob/7f494fe04acd6773bc92312ce545bd720797799b/SourceCode/dlls/supergun.cpp#L370
The number of frames (69) is divided by the FPS (25), which gives the reload duration. This is meant to match the reload sequence duration.
There are 2 issues:
The line should be changed as follows:
DefaultReload( SUPERGUN_MAX_CLIP, SG_RELOAD, 70.0f / 25.0f );
The reload duration is specified as the last parameter:
https://github.com/jlecorre/hlinvasion/blob/7f494fe04acd6773bc92312ce545bd720797799b/SourceCode/dlls/supergun.cpp#L370
The number of frames (69) is divided by the FPS (25), which gives the reload duration. This is meant to match the reload sequence duration.
There are 2 issues:
The line should be changed as follows: