mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-02-21 20:27:13 +01:00
Make the entity flags value 32bit because alignment will insert padding bytes any way and no performance benefit comes from using 16 bytes.
This commit is contained in:
parent
297d2f97c2
commit
26505a6a09
@ -112,7 +112,7 @@ protected:
|
||||
|
||||
// ----------------------------------------------------------------------------------------
|
||||
Int32 mID; // The unique number that identifies this entity on the server.
|
||||
Uint16 mFlags; // Various options and states that can be toggled on the instance.
|
||||
Uint32 mFlags; // Various options and states that can be toggled on the instance.
|
||||
CBlip * mInst; // Pointer to the actual instance used to interact this entity.
|
||||
LightObj mObj; // Script object of the instance used to interact this entity.
|
||||
|
||||
@ -181,7 +181,7 @@ protected:
|
||||
|
||||
// ----------------------------------------------------------------------------------------
|
||||
Int32 mID; // The unique number that identifies this entity on the server.
|
||||
Uint16 mFlags; // Various options and states that can be toggled on the instance.
|
||||
Uint32 mFlags; // Various options and states that can be toggled on the instance.
|
||||
CCheckpoint * mInst; // Pointer to the actual instance used to interact this entity.
|
||||
LightObj mObj; // Script object of the instance used to interact this entity.
|
||||
|
||||
@ -245,7 +245,7 @@ protected:
|
||||
|
||||
// ----------------------------------------------------------------------------------------
|
||||
Int32 mID; // The unique number that identifies this entity on the server.
|
||||
Uint16 mFlags; // Various options and states that can be toggled on the instance.
|
||||
Uint32 mFlags; // Various options and states that can be toggled on the instance.
|
||||
CKeybind * mInst; // Pointer to the actual instance used to interact this entity.
|
||||
LightObj mObj; // Script object of the instance used to interact this entity.
|
||||
|
||||
@ -313,7 +313,7 @@ protected:
|
||||
|
||||
// ----------------------------------------------------------------------------------------
|
||||
Int32 mID; // The unique number that identifies this entity on the server.
|
||||
Uint16 mFlags; // Various options and states that can be toggled on the instance.
|
||||
Uint32 mFlags; // Various options and states that can be toggled on the instance.
|
||||
CObject * mInst; // Pointer to the actual instance used to interact this entity.
|
||||
LightObj mObj; // Script object of the instance used to interact this entity.
|
||||
|
||||
@ -378,7 +378,7 @@ protected:
|
||||
|
||||
// ----------------------------------------------------------------------------------------
|
||||
Int32 mID; // The unique number that identifies this entity on the server.
|
||||
Uint16 mFlags; // Various options and states that can be toggled on the instance.
|
||||
Uint32 mFlags; // Various options and states that can be toggled on the instance.
|
||||
CPickup * mInst; // Pointer to the actual instance used to interact this entity.
|
||||
LightObj mObj; // Script object of the instance used to interact this entity.
|
||||
|
||||
@ -445,7 +445,7 @@ protected:
|
||||
|
||||
// ----------------------------------------------------------------------------------------
|
||||
Int32 mID; // The unique number that identifies this entity on the server.
|
||||
Uint16 mFlags; // Various options and states that can be toggled on the instance.
|
||||
Uint32 mFlags; // Various options and states that can be toggled on the instance.
|
||||
CPlayer * mInst; // Pointer to the actual instance used to interact this entity.
|
||||
LightObj mObj; // Script object of the instance used to interact this entity.
|
||||
|
||||
@ -596,7 +596,7 @@ protected:
|
||||
|
||||
// ----------------------------------------------------------------------------------------
|
||||
Int32 mID; // The unique number that identifies this entity on the server.
|
||||
Uint16 mFlags; // Various options and states that can be toggled on the instance.
|
||||
Uint32 mFlags; // Various options and states that can be toggled on the instance.
|
||||
CVehicle * mInst; // Pointer to the actual instance used to interact this entity.
|
||||
LightObj mObj; // Script object of the instance used to interact this entity.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user