mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 17:39:01 +00:00
updated get/set
This commit is contained in:
parent
dc12718fc2
commit
063bf51bf1
1 changed files with 4 additions and 4 deletions
|
@ -121,8 +121,8 @@ struct CEntityProperties
|
||||||
|
|
||||||
void Store(CEntity* pEntity)
|
void Store(CEntity* pEntity)
|
||||||
{
|
{
|
||||||
m_type = pEntity->m_type;
|
m_type = pEntity->GetType();
|
||||||
m_status = pEntity->m_status;
|
m_status = pEntity->GetStatus();
|
||||||
bUsesCollision = pEntity->bUsesCollision;
|
bUsesCollision = pEntity->bUsesCollision;
|
||||||
bCollisionProcessed = pEntity->bCollisionProcessed;
|
bCollisionProcessed = pEntity->bCollisionProcessed;
|
||||||
bIsStatic = pEntity->bIsStatic;
|
bIsStatic = pEntity->bIsStatic;
|
||||||
|
@ -161,8 +161,8 @@ struct CEntityProperties
|
||||||
|
|
||||||
void Restore(CEntity* pEntity)
|
void Restore(CEntity* pEntity)
|
||||||
{
|
{
|
||||||
pEntity->m_type = m_type;
|
pEntity->SetType((eEntityType)m_type);
|
||||||
pEntity->m_status = m_status;
|
pEntity->SetStatus((eEntityStatus)m_status);
|
||||||
pEntity->bUsesCollision = bUsesCollision;
|
pEntity->bUsesCollision = bUsesCollision;
|
||||||
pEntity->bCollisionProcessed = bCollisionProcessed;
|
pEntity->bCollisionProcessed = bCollisionProcessed;
|
||||||
pEntity->bIsStatic = bIsStatic;
|
pEntity->bIsStatic = bIsStatic;
|
||||||
|
|
Loading…
Reference in a new issue