Skip to content

Commit

Permalink
Fix for actor before death callback
Browse files Browse the repository at this point in the history
  • Loading branch information
Xottab-DUTY committed Dec 12, 2017
1 parent c19ac81 commit 6f704f1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/xrGame/game_object_space.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,7 @@ enum ECallbackType
eItemToSlot,
eItemToRuck,
// Actor
#ifdef ACTOR_BEFORE_DEATH_CALLBACK
eActorBeforeDeath,
#endif
//-AVO

eDummy = u32(-1),
Expand Down
2 changes: 0 additions & 2 deletions src/xrGame/script_game_object_script.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,7 @@ SCRIPT_EXPORT(CScriptGameObject, (), {
value("item_to_slot", int(GameObject::eItemToSlot)),
value("item_to_ruck", int(GameObject::eItemToRuck)),
// Actor
#ifdef ACTOR_BEFORE_DEATH_CALLBACK
value("actor_before_death", int(GameObject::eActorBeforeDeath)),
#endif
//-AVO

value("map_location_added", int(GameObject::eMapLocationAdded))],
Expand Down

0 comments on commit 6f704f1

Please sign in to comment.