mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-29 07:12:36 +00:00
- silence warnings in shadowinlines.h line 88
This commit is contained in:
parent
1852f14f30
commit
5e5315a9b3
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ inline bool AffectedByShadows(AActor* self, AActor* other)
|
|||
|
||||
inline bool CheckForShadows(AActor* self, AActor* other, DVector3 pos, double& penaltyFactor)
|
||||
{
|
||||
return ((other && other->flags & MF_SHADOW) || self->flags9 & MF9_DOSHADOWBLOCK && P_CheckForShadowBlock(self, other, pos, penaltyFactor));
|
||||
return ((other && (other->flags & MF_SHADOW)) || (self->flags9 & MF9_DOSHADOWBLOCK) && P_CheckForShadowBlock(self, other, pos, penaltyFactor));
|
||||
}
|
||||
|
||||
inline bool PerformShadowChecks(AActor* self, AActor* other, DVector3 pos, double& penaltyFactor)
|
||||
|
|
Loading…
Reference in a new issue