diff options
author | Bardur Arantsson <bardur@scientician.net> | 2014-12-21 15:45:42 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2014-12-23 12:07:55 +0100 |
commit | 07331bfbf3fc2096241194a491047a13af9f2cb4 (patch) | |
tree | 0e7af34664d875c7a16b81f64cf5a7c96cbd5883 /src | |
parent | 6260b7068a3a2a7941a83a58dcbb4649a25d6265 (diff) |
Remove unused HOOK_LEARN_ABILITY
Diffstat (limited to 'src')
-rw-r--r-- | src/defines.h | 1 | ||||
-rw-r--r-- | src/skills.cc | 4 |
2 files changed, 0 insertions, 5 deletions
diff --git a/src/defines.h b/src/defines.h index d66a6c21..5b334d43 100644 --- a/src/defines.h +++ b/src/defines.h @@ -4392,7 +4392,6 @@ #define HOOK_BODY_PARTS 65 #define HOOK_BIRTH 68 #define HOOK_MON_ASK_HELP 69 -#define HOOK_LEARN_ABILITY 70 #define HOOK_GAME_START 72 #define HOOK_TAKEOFF 73 #define HOOK_FORBID_TRAVEL 75 diff --git a/src/skills.cc b/src/skills.cc index 12c1fb3d..63c9ad72 100644 --- a/src/skills.cc +++ b/src/skills.cc @@ -1515,10 +1515,6 @@ bool_ can_learn_ability(int ab) } } - /* Do the script allow us? */ - if (process_hooks(HOOK_LEARN_ABILITY, "(d)", ab)) - return FALSE; - return TRUE; } |