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:38 +08:00
parent 0945382369
commit 3df322b80e
3 changed files with 41 additions and 28 deletions
+1 -1
View File
@@ -467,7 +467,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)