Skip to content

Commit 319c5f0

Browse files
committed
override
1 parent 1939d47 commit 319c5f0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Client/game_sa/CObjectSA.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@ class CObjectSA : public virtual CObject, public virtual CPhysicalSA
153153
CVector* GetScale();
154154
void ResetScale();
155155

156-
bool IsOnFire() { return GetObjectInterface()->pFire != nullptr; }
157-
void SetOnFire(bool onFire);
156+
bool IsOnFire() override { return GetObjectInterface()->pFire != nullptr; }
157+
void SetOnFire(bool onFire) override;
158158

159159
private:
160160
void CheckForGangTag();

Client/game_sa/CVehicleSA.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -690,8 +690,8 @@ class CVehicleSA : public virtual CVehicle, public virtual CPhysicalSA
690690
CVector* GetDummyPositions() { return m_dummyPositions.data(); }
691691
const CVector* GetDummyPositions() const override { return m_dummyPositions.data(); }
692692

693-
bool IsOnFire() { return GetVehicleInterface()->m_pFire != nullptr; }
694-
void SetOnFire(bool onFire);
693+
bool IsOnFire() override { return GetVehicleInterface()->m_pFire != nullptr; }
694+
void SetOnFire(bool onFire) override;
695695

696696
static void StaticSetHooks();
697697
static void SetVehiclesSunGlareEnabled(bool bEnabled);

0 commit comments

Comments
 (0)