summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/defines.h1
-rw-r--r--src/skills.cc4
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;
}