Added a fix to the weapon check in the Fast Shot trait (#335)

* changed range check to type+range check, the same fix is also applied
to FastShotTraitFix.

Added more info to the description of FastShotFix option.
This commit is contained in:
NovaRain
2020-09-05 10:39:22 +08:00
parent 282a491718
commit 2badb5fdd2
3 changed files with 56 additions and 28 deletions
+2 -1
View File
@@ -467,7 +467,8 @@
#define Stereo16bit (soundstereo bwor sound16bit)
#define Stereo16bitLoop (soundstereo bwor sound16bit bwor soundloop)
// Adjust/reduce volume: 0x0000XXXX - max volume, 0x7FFFXXXX - mute
// Adjust (reduce) volume for soundplay and play_sfall_sound
// range: 0x0000XXXX (max volume) - 0x7FFFXXXX (mute)
#define SoundVolume25 (0x20000000)
#define SoundVolumeHalf (0x40000000)
#define SoundVolume75 (0x60000000)