mirror of https://github.com/AxioDL/metaforce.git
CScriptCoverPoint: Fix GetAttackDirection return value
This commit is contained in:
parent
0339c16e20
commit
22ac7d8099
|
@ -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; }
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue