rnd-20030919-1-src
authorHolger Schemel <info@artsoft.org>
Thu, 18 Sep 2003 23:17:22 +0000 (01:17 +0200)
committerHolger Schemel <info@artsoft.org>
Sat, 30 Aug 2014 08:43:51 +0000 (10:43 +0200)
Makefile
src/conftime.h
src/editor.c
src/files.c

index bdd285b5e775938c501bd4dd53fd57723470f574..e0b9bcd9848ac9e039620ca2725494358564f75a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -96,6 +96,9 @@ run:
 gdb:
        @$(MAKE_CMD) TARGET=$(DEFAULT_TARGET) && gdb ./rocksndiamonds
 
+valgrind:
+       valgrind -v --leak-check=yes ./rocksndiamonds 2> valgrind.out
+
 enginetest:
        ./Scripts/make_enginetest.sh
 
index 23ba2a60b7c3eac2b8e3447346de6d463957856d..bcb8042b8a60f0d809021da47641125fdfa22977 100644 (file)
@@ -1 +1 @@
-#define COMPILE_DATE_STRING "[2003-09-16 00:15]"
+#define COMPILE_DATE_STRING "[2003-09-19 00:29]"
index bc79a60621764d53dee7949a6d61e6e1c2086c93..c9f44597a5d3bbe3bea0c3c00905e812cd9ef224 100644 (file)
@@ -5301,7 +5301,7 @@ static void DrawPropertiesInfo()
     { EP_DONT_COLLIDE_WITH,    "- deadly when colliding with"          },
     { EP_DONT_TOUCH,           "- deadly when touching"                },
 
-    { EP_INDESTRUCTIBLE,       "- undestructible"                      },
+    { EP_INDESTRUCTIBLE,       "- indestructible"                      },
 
     { EP_CAN_EXPLODE_BY_FIRE,  "- can explode by fire or explosions"   },
     { EP_CAN_EXPLODE_SMASHED,  "- can explode when smashed"            },
index ac3f0b4b86d92fafaa49f29987038a9ad8c3812f..79ad7e3ce49bd624be09e2652e7c50be532e1a88 100644 (file)
@@ -695,6 +695,9 @@ static int LoadLevel_CUS4(FILE *file, int chunk_size, struct LevelInfo *level)
   {
     struct ElementChangeInfo *change = &ei->change_page[i];
 
+    /* always start with reliable default values */
+    setElementChangeInfoToDefaults(change);
+
     change->events = getFile32BitBE(file);
 
     change->target_element = checkLevelElement(getFile16BitBE(file));