Skip to content

Commit f691946

Browse files
authored
Fix wrong getModelMatrix result for buildings (#3331)
1 parent 81242ed commit f691946

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Client/mods/deathmatch/logic/CClientBuilding.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class CClientBuilding : public CClientEntity
2727
void GetPosition(CVector& vecPosition) const override { vecPosition = m_vPos; };
2828
void SetPosition(const CVector& vecPosition) override;
2929

30-
void GetRotationRadians(CVector& vecOutRadians) const override { vecOutRadians = m_vPos; };
30+
void GetRotationRadians(CVector& vecOutRadians) const override { vecOutRadians = m_vRot; };
3131
void SetRotationRadians(const CVector& vecRadians) override;
3232

3333
CEntity* GetGameEntity() override { return m_pBuilding; };

0 commit comments

Comments
 (0)