Tweaked the field of view check in ObjCanSeeObj_ShootThru_Fix

And fixed a bug when the target critter has the ShootTrhu flag set
(cannot be seen by the source)

Minor edits to some comments in previous commit.
This commit is contained in:
NovaRain
2020-09-02 14:21:57 +08:00
parent ed9c6c7508
commit 849ae49bfb
3 changed files with 46 additions and 29 deletions
+1 -1
View File
@@ -349,7 +349,7 @@
#define Stereo16bit (soundstereo bwor sound16bit)
#define Stereo16bitLoop (soundstereo bwor sound16bit bwor soundloop)
// Volume reduction: 0x0000XXXX - min, 0x7FFFXXXX - mute
// Adjust/reduce volume: 0x0000XXXX - max volume, 0x7FFFXXXX - mute
#define SoundVolume25 (0x20000000)
#define SoundVolumeHalf (0x40000000)
#define SoundVolume75 (0x60000000)