From bc781c28e017b8f12133daa350c5344dfc8aed05 Mon Sep 17 00:00:00 2001 From: Alexander Wilms Date: Sun, 14 Jan 2024 14:00:32 +0000 Subject: [PATCH] Remove trailing semicolon from NET_EVENT_HANDLER macro --- AI/Nullkiller/AIGateway.cpp | 2 +- AI/VCAI/VCAI.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/AI/Nullkiller/AIGateway.cpp b/AI/Nullkiller/AIGateway.cpp index a5234bf47..0d79173a4 100644 --- a/AI/Nullkiller/AIGateway.cpp +++ b/AI/Nullkiller/AIGateway.cpp @@ -64,7 +64,7 @@ struct SetGlobalState }; -#define SET_GLOBAL_STATE(ai) SetGlobalState _hlpSetState(ai); +#define SET_GLOBAL_STATE(ai) SetGlobalState _hlpSetState(ai) #define NET_EVENT_HANDLER SET_GLOBAL_STATE(this) #define MAKING_TURN SET_GLOBAL_STATE(this) diff --git a/AI/VCAI/VCAI.cpp b/AI/VCAI/VCAI.cpp index 4ebeb1f3f..429f6a0db 100644 --- a/AI/VCAI/VCAI.cpp +++ b/AI/VCAI/VCAI.cpp @@ -66,7 +66,7 @@ struct SetGlobalState }; -#define SET_GLOBAL_STATE(ai) SetGlobalState _hlpSetState(ai); +#define SET_GLOBAL_STATE(ai) SetGlobalState _hlpSetState(ai) #define NET_EVENT_HANDLER SET_GLOBAL_STATE(this) #define MAKING_TURN SET_GLOBAL_STATE(this)