diff --git a/CMakeLists.txt b/CMakeLists.txt index daedcaa0f..5ab1334f5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.16.0 FATAL_ERROR) # Set the project version and language -project(Ghostship VERSION 1.0.0 LANGUAGES C CXX ASM) +project(Ghostship VERSION 1.0.1 LANGUAGES C CXX ASM) include(FetchContent) include(cmake/ghostship-cvars.cmake) diff --git a/src/port/game/GeoLayoutParser.cpp b/src/port/game/GeoLayoutParser.cpp index 9946f1afd..81076114e 100644 --- a/src/port/game/GeoLayoutParser.cpp +++ b/src/port/game/GeoLayoutParser.cpp @@ -38,9 +38,9 @@ struct GraphNodeEntry { GraphNodeFunc function; }; -#define FUNC(f) \ - GraphNodeEntry { \ - #f, reinterpret_cast(f) \ +#define FUNC(f) \ + GraphNodeEntry { \ +#f, reinterpret_cast < GraphNodeFunc>(f) \ } std::unordered_map mUSFunctionTable = {