From bf74eb1446af2f7cb1f3f8db575c669eb3e18998 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 22 Nov 2015 12:41:22 +0100 Subject: [PATCH] cleanup: remove movement constatns from config.h --- src/kernel/config.h | 8 -------- src/move.c | 8 ++++++++ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/kernel/config.h b/src/kernel/config.h index a4604e318..4550ae687 100644 --- a/src/kernel/config.h +++ b/src/kernel/config.h @@ -40,14 +40,6 @@ struct param; #define GET_UNIT 0 #define GET_NOTFOUND 1 #define GET_PEASANTS 2 - /* Bewegungsweiten: */ -#define BP_WALKING 4 -#define BP_RIDING 6 -#define BP_UNICORN 9 -#define BP_DRAGON 4 - -#define BP_NORMAL 3 -#define BP_ROAD 2 /** * Hier endet der Teil von config.h, der die defines für die diff --git a/src/move.c b/src/move.c index 517301828..3a3d91d83 100644 --- a/src/move.c +++ b/src/move.c @@ -81,6 +81,14 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #include #include +/* Bewegungsweiten: */ +#define BP_WALKING 4 +#define BP_RIDING 6 +#define BP_UNICORN 9 +#define BP_DRAGON 4 +#define BP_NORMAL 3 +#define BP_ROAD 2 + int *storms; typedef struct traveldir {