From 325371331d57f73c505a329c92aaf8005c1deaa4 Mon Sep 17 00:00:00 2001 From: def Date: Sun, 14 Jan 2018 15:04:18 +0100 Subject: [PATCH] Version 11.0 --- CMakeLists.txt | 4 ++++ src/game/version.h | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e51863f33..35618d485 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,6 +9,10 @@ if(VERSION_LINE MATCHES "\"([0-9]+)\\.([0-9]+)\\.([0-9]+)\"") set(VERSION_MAJOR ${CMAKE_MATCH_1}) set(VERSION_MINOR ${CMAKE_MATCH_2}) set(VERSION_PATCH ${CMAKE_MATCH_3}) +elseif(VERSION_LINE MATCHES "\"([0-9]+)\\.([0-9]+)\"") + set(VERSION_MAJOR ${CMAKE_MATCH_1}) + set(VERSION_MINOR ${CMAKE_MATCH_2}) + set(VERSION_PATCH "0") else() message(FATAL_ERROR "Couldn't parse version from src/game/version.h") endif() diff --git a/src/game/version.h b/src/game/version.h index 1874879b5..8a5887800 100644 --- a/src/game/version.h +++ b/src/game/version.h @@ -3,8 +3,8 @@ #ifndef GAME_VERSION_H #define GAME_VERSION_H #include "generated/nethash.cpp" -#define GAME_VERSION "0.6.4, 11.0.0" +#define GAME_VERSION "0.6.4, 11.0" #define GAME_NETVERSION "0.6 626fce9a778df4d4" -#define GAME_RELEASE_VERSION "11.0.0" +#define GAME_RELEASE_VERSION "11.0" #define CLIENT_VERSIONNR 11000 #endif