From 74fde1397e04fe78af0508789fdd1a7bf0e02799 Mon Sep 17 00:00:00 2001 From: Nikolay Korolev Date: Mon, 27 Apr 2020 00:54:43 +0300 Subject: pools compatibility --- src/entities/Entity.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/entities') diff --git a/src/entities/Entity.h b/src/entities/Entity.h index ee9e6490..82a78779 100644 --- a/src/entities/Entity.h +++ b/src/entities/Entity.h @@ -91,7 +91,9 @@ public: CReference *m_pFirstReference; CColModel *GetColModel(void) { return CModelInfo::GetModelInfo(m_modelIndex)->GetColModel(); } +#ifndef COMPATIBLE_SAVES uint32* GetAddressOfEntityProperties() { /* AWFUL */ return (uint32*)((char*)&m_rwObject + sizeof(m_rwObject)); } +#endif CEntity(void); ~CEntity(void); -- cgit v1.2.3