npc_clear_ids_and_state
This commit is contained in:
1 parent
63dd0ea397
commit
83dbdc0318
4 files changed
+14
-20
No files matched your search
+8
-1
@@ -13,4 +13,11 @@
|
||||
|
||||
// Code
|
||||
|
||||
|
||||
void npc_clear_ids_and_state(struct MapObject *mapObject)
|
||||
{
|
||||
memset(mapObject, 0, sizeof(struct MapObject));
|
||||
mapObject->localId = 0xFF;
|
||||
mapObject->mapNum = -1;
|
||||
mapObject->mapGroup = -1;
|
||||
mapObject->mapobj_unk_1C = -1;
|
||||
}
|
||||
Reference in new issue
Block a user