From 0421d68cc236e11dfbe991585b3b81369639e6f4 Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Fri, 2 Apr 2021 15:15:34 +1100 Subject: [PATCH] Release 1.2.5 --- src/Constants.h | 14 +++++++------- src/Server.c | 1 + 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/Constants.h b/src/Constants.h index db44f942b..61797990b 100644 --- a/src/Constants.h +++ b/src/Constants.h @@ -5,7 +5,7 @@ */ #define GAME_MAX_CMDARGS 5 -#define GAME_APP_VER "1.2.4" +#define GAME_APP_VER "1.2.5" #define GAME_API_VER 1 #if defined CC_BUILD_WEB @@ -13,14 +13,14 @@ #define GAME_APP_NAME "ClassiCube web" #define GAME_APP_TITLE "ClassiCube" #elif defined CC_BUILD_COCOA -#define GAME_APP_NAME "ClassiCube 1.2.4 alpha" -#define GAME_APP_TITLE "ClassiCube 1.2.4 alpha" +#define GAME_APP_NAME "ClassiCube 1.2.5 alpha" +#define GAME_APP_TITLE "ClassiCube 1.2.5 alpha" #elif defined CC_BUILD_ANDROID -#define GAME_APP_NAME "ClassiCube 1.2.4 android alpha" -#define GAME_APP_TITLE "ClassiCube 1.2.4 android alpha" +#define GAME_APP_NAME "ClassiCube 1.2.5 android alpha" +#define GAME_APP_TITLE "ClassiCube 1.2.5 android alpha" #else -#define GAME_APP_NAME "ClassiCube 1.2.4" -#define GAME_APP_TITLE "ClassiCube 1.2.4" +#define GAME_APP_NAME "ClassiCube 1.2.5" +#define GAME_APP_TITLE "ClassiCube 1.2.5" #endif /* Max number of characters strings can have. */ diff --git a/src/Server.c b/src/Server.c index 9188ae9fb..a8e4a4605 100644 --- a/src/Server.c +++ b/src/Server.c @@ -296,6 +296,7 @@ static void MPConnection_BeginConnect(void) { String_InitArray(title, titleBuffer); /* Default block permissions (in case server supports SetBlockPermissions but doesn't send) */ + Blocks.CanPlace[BLOCK_AIR] = false; Blocks.CanPlace[BLOCK_LAVA] = false; Blocks.CanDelete[BLOCK_LAVA] = false; Blocks.CanPlace[BLOCK_WATER] = false; Blocks.CanDelete[BLOCK_WATER] = false; Blocks.CanPlace[BLOCK_STILL_LAVA] = false; Blocks.CanDelete[BLOCK_STILL_LAVA] = false;