From c8befbbd30922bedbebc2cd1799a779068bde4b8 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Tue, 27 Feb 2024 21:06:02 +0100 Subject: [PATCH] white space changes --- src/game_bd/bd_bdcff.c | 2 ++ src/game_bd/bd_cave.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/game_bd/bd_bdcff.c b/src/game_bd/bd_bdcff.c index 53fc4c91..ff5a60ca 100644 --- a/src/game_bd/bd_bdcff.c +++ b/src/game_bd/bd_bdcff.c @@ -1113,8 +1113,10 @@ boolean gd_caveset_load_from_bdcff(const char *contents) hashtable_insert(tags, getStringCopy(attrib), getStringCopy(param)); } else + { /* unknown setting - report. */ Warn("invalid attribute for [game] '%s'", attrib); + } } else { diff --git a/src/game_bd/bd_cave.h b/src/game_bd/bd_cave.h index f4753444..3bdc02f0 100644 --- a/src/game_bd/bd_cave.h +++ b/src/game_bd/bd_cave.h @@ -89,7 +89,7 @@ void gd_struct_set_defaults_from_array(void *str, const GdStructDescriptor *prop /* +80: placeholder for cells which are rendered by the game; for example diamond + arrow = falling diamond */ -#define GD_NUM_OF_CELLS (GD_NUM_OF_CELLS_X*GD_NUM_OF_CELLS_Y+80) +#define GD_NUM_OF_CELLS (GD_NUM_OF_CELLS_X * GD_NUM_OF_CELLS_Y + 80) /* maximum replay size (maximum seconds x game cycles per second) */ #define MAX_REPLAY_LEN (10000 * FRAMES_PER_SECOND / 8) -- 2.34.1