mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-11-06 11:57:09 +01:00
Fix issues in the entity creation and destruction code.
Implement a locking mechanism to prevent entities be dstroyed in mid-destruction. Also clean up properly when internal instances are deleted.
This commit is contained in:
1 parent
23617b1493
commit
01bafd7c4f
3 files changed
+310
-59
No files matched your search
+2
-1
@@ -385,7 +385,8 @@ enum EventType
|
||||
enum EntityFlags
|
||||
{
|
||||
ENF_DEFAULT = (0),
|
||||
ENF_OWNED = (1 < 0)
|
||||
ENF_OWNED = (1 << 1),
|
||||
ENF_LOCKED = (2 << 1)
|
||||
};
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user