summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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);
}