diff options
Diffstat (limited to 'src/util.cc')
-rw-r--r-- | src/util.cc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/util.cc b/src/util.cc index 55badc07..fbd2020c 100644 --- a/src/util.cc +++ b/src/util.cc @@ -3,6 +3,7 @@ /* Purpose: Angband utilities -BEN- */ #include "util.hpp" +#include "util.h" #include "angband.h" #include "cmd3.hpp" #include "cmd4.hpp" @@ -3677,12 +3678,6 @@ char msg_box(cptr text, int y, int x) return inkey(); } -/* Rescale a value */ -s32b rescale(s32b x, s32b max, s32b new_max) -{ - return (x * new_max) / max; -} - /* * Timers */ |