Browse Source

Remove trailing semicolon from NET_EVENT_HANDLER macro

Alexander Wilms 1 year ago
parent
commit
bc781c28e0
2 changed files with 2 additions and 2 deletions
  1. 1 1
      AI/Nullkiller/AIGateway.cpp
  2. 1 1
      AI/VCAI/VCAI.cpp

+ 1 - 1
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 NET_EVENT_HANDLER SET_GLOBAL_STATE(this)
 #define MAKING_TURN SET_GLOBAL_STATE(this)
 #define MAKING_TURN SET_GLOBAL_STATE(this)

+ 1 - 1
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 NET_EVENT_HANDLER SET_GLOBAL_STATE(this)
 #define MAKING_TURN SET_GLOBAL_STATE(this)
 #define MAKING_TURN SET_GLOBAL_STATE(this)