Skip to content

Commit 6f704f1

Browse files
committed
Fix for actor before death callback
1 parent c19ac81 commit 6f704f1

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/xrGame/game_object_space.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,7 @@ enum ECallbackType
6666
eItemToSlot,
6767
eItemToRuck,
6868
// Actor
69-
#ifdef ACTOR_BEFORE_DEATH_CALLBACK
7069
eActorBeforeDeath,
71-
#endif
7270
//-AVO
7371

7472
eDummy = u32(-1),

src/xrGame/script_game_object_script.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,7 @@ SCRIPT_EXPORT(CScriptGameObject, (), {
9595
value("item_to_slot", int(GameObject::eItemToSlot)),
9696
value("item_to_ruck", int(GameObject::eItemToRuck)),
9797
// Actor
98-
#ifdef ACTOR_BEFORE_DEATH_CALLBACK
9998
value("actor_before_death", int(GameObject::eActorBeforeDeath)),
100-
#endif
10199
//-AVO
102100

103101
value("map_location_added", int(GameObject::eMapLocationAdded))],

0 commit comments

Comments
 (0)