From: Holger Schemel Date: Thu, 18 Sep 2003 23:17:22 +0000 (+0200) Subject: rnd-20030919-1-src X-Git-Tag: 3.0.5^2~9 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=e803a798c70f90963b68085ef6ebe22eb30a57b5;p=rocksndiamonds.git rnd-20030919-1-src --- diff --git a/Makefile b/Makefile index bdd285b5..e0b9bcd9 100644 --- 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 diff --git a/src/conftime.h b/src/conftime.h index 23ba2a60..bcb8042b 100644 --- a/src/conftime.h +++ b/src/conftime.h @@ -1 +1 @@ -#define COMPILE_DATE_STRING "[2003-09-16 00:15]" +#define COMPILE_DATE_STRING "[2003-09-19 00:29]" diff --git a/src/editor.c b/src/editor.c index bc79a606..c9f44597 100644 --- a/src/editor.c +++ b/src/editor.c @@ -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" }, diff --git a/src/files.c b/src/files.c index ac3f0b4b..79ad7e3c 100644 --- a/src/files.c +++ b/src/files.c @@ -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));