diff options
author | Bardur Arantsson <bardur@scientician.net> | 2014-12-21 15:57:27 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2014-12-23 12:07:56 +0100 |
commit | c690f0dc5b53d953b1f845f75b4c8555dcd5b76f (patch) | |
tree | 4ed343fb7f898686eca468afa0508bf817318bbc | |
parent | 43972201b3a0e625db270e1cb48b7ff0a29a3c7a (diff) |
Remove unused HOOK_BUILDING_ACTION
-rw-r--r-- | src/bldg.cc | 9 | ||||
-rw-r--r-- | src/defines.h | 1 |
2 files changed, 1 insertions, 9 deletions
diff --git a/src/bldg.cc b/src/bldg.cc index 9875a264..77aafe19 100644 --- a/src/bldg.cc +++ b/src/bldg.cc @@ -2073,14 +2073,7 @@ bool_ bldg_process_command(store_type *s_ptr, int i) } default: - { - if (process_hooks_ret(HOOK_BUILDING_ACTION, "dd", "(d)", bact)) - { - paid = process_hooks_return[0].num; - recreate = process_hooks_return[1].num; - } - break; - } + break; } if (paid) diff --git a/src/defines.h b/src/defines.h index 0f2d3e0c..9f057300 100644 --- a/src/defines.h +++ b/src/defines.h @@ -4374,7 +4374,6 @@ #define HOOK_LOAD_GAME 41 #define HOOK_LEVEL_REGEN 42 #define HOOK_LEVEL_END_GEN 43 -#define HOOK_BUILDING_ACTION 44 #define HOOK_GEN_LEVEL_BEGIN 49 #define HOOK_GET 50 #define HOOK_RECALC_SKILLS 52 |