CScriptCoverPoint: Fix GetAttackDirection return value

This commit is contained in:
Luke Street 2020-04-11 02:09:58 -04:00
parent 0339c16e20
commit 22ac7d8099
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ public:
float GetSinSqVerticalAngle() const; float GetSinSqVerticalAngle() const;
float GetCosHorizontalAngle() const { return xec_cosHorizontalAngle; } float GetCosHorizontalAngle() const { return xec_cosHorizontalAngle; }
pas::ECoverDirection GetAttackDirection() const { pas::ECoverDirection GetAttackDirection() const {
return xe8_30_attackDirection ? pas::ECoverDirection::Left : pas::ECoverDirection::Right; return xe8_30_attackDirection ? pas::ECoverDirection::Right : pas::ECoverDirection::Left;
} }
void Reserve(TUniqueId id) { xfa_occupant = id; } void Reserve(TUniqueId id) { xfa_occupant = id; }
}; };