From 384e7be695fc44634c08002e3eeccd9c45369645 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Sat, 18 Jan 2003 12:47:40 +0100 Subject: [PATCH] rnd-20030118-3-src --- src/conftime.h | 2 +- src/init.c | 8 +++----- src/main.c | 33 ++------------------------------- src/main.h | 5 ++--- src/tools.c | 1 - 5 files changed, 8 insertions(+), 41 deletions(-) diff --git a/src/conftime.h b/src/conftime.h index e8274fb9..75512089 100644 --- a/src/conftime.h +++ b/src/conftime.h @@ -1 +1 @@ -#define COMPILE_DATE_STRING "[2003-01-18 12:18]" +#define COMPILE_DATE_STRING "[2003-01-18 12:46]" diff --git a/src/init.c b/src/init.c index 2d8cec32..b720f576 100644 --- a/src/init.c +++ b/src/init.c @@ -692,7 +692,7 @@ void InitElementInfo() /* set values to -1 to identify later as "uninitialized" values */ for (i=0; i -1) - action = graphics_action_mapping[action]; - else + if (action < 0) action = GFX_ACTION_DEFAULT; if (direction > -1) @@ -752,7 +750,7 @@ void InitElementInfo() default_action_direction_graphic[dir] = default_action_graphic; } - for (act=0; act