summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2014-12-21 15:41:44 +0100
committerBardur Arantsson <bardur@scientician.net>2014-12-23 12:07:55 +0100
commit19220f66c2d05ff72770f95d5519f901f01c7392 (patch)
tree367e2dab44fd30d274fc80d88580deeb1ecd07de /src
parent015b65bce043778afcb32f569ebc6fe3a48809fa (diff)
Remove unused HOOK_CALC_WEIGHT
Diffstat (limited to 'src')
-rw-r--r--src/defines.h1
-rw-r--r--src/xtra1.cc3
2 files changed, 0 insertions, 4 deletions
diff --git a/src/defines.h b/src/defines.h
index 08f8b2a7..54cb5f84 100644
--- a/src/defines.h
+++ b/src/defines.h
@@ -4397,7 +4397,6 @@
#define HOOK_LEARN_ABILITY 70
#define HOOK_GAME_START 72
#define HOOK_TAKEOFF 73
-#define HOOK_CALC_WEIGHT 74
#define HOOK_FORBID_TRAVEL 75
#define HOOK_DEBUG_COMMAND 76
#define MAX_HOOKS 77
diff --git a/src/xtra1.cc b/src/xtra1.cc
index 2d6e2e83..8bad0dc8 100644
--- a/src/xtra1.cc
+++ b/src/xtra1.cc
@@ -2051,9 +2051,6 @@ int weight_limit(void)
/* Weight limit based only on strength */
i = adj_str_wgt[p_ptr->stat_ind[A_STR]] * 100;
- if (process_hooks_ret(HOOK_CALC_WEIGHT, "d", "(d)", i))
- i = process_hooks_return[0].num;
-
/* Return the result */
return (i);
}