summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/edit/ab_info.txt2
-rw-r--r--lib/mods/theme/edit/ab_info.txt2
-rw-r--r--src/defines.h1
-rw-r--r--src/skills.cc4
4 files changed, 0 insertions, 9 deletions
diff --git a/lib/edit/ab_info.txt b/lib/edit/ab_info.txt
index 7b9aa152..c60446e6 100644
--- a/lib/edit/ab_info.txt
+++ b/lib/edit/ab_info.txt
@@ -22,8 +22,6 @@
# E:excluding ability:excluding ability
-# If you need more sophisticated prereqs use the HOOK_LEARN_ABILITY
-
# Version stamp (required)
# Do not forget to update misc.txt with an entry like the following :
diff --git a/lib/mods/theme/edit/ab_info.txt b/lib/mods/theme/edit/ab_info.txt
index 4272776a..8c6cc52e 100644
--- a/lib/mods/theme/edit/ab_info.txt
+++ b/lib/mods/theme/edit/ab_info.txt
@@ -22,8 +22,6 @@
# E:excluding ability:excluding ability
-# If you need more sophisticated prereqs use the HOOK_LEARN_ABILITY
-
# Version stamp (required)
# Do not forget to update misc.txt with an entry like the following :
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;
}