Skip to content

Commit 037df3d

Browse files
qaisjpsbx320
authored andcommitted
Move CRemoteCalls.h higher
1 parent 43fa9e6 commit 037df3d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Server/mods/deathmatch/StdInc.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ struct SAclRequest;
113113
#include "packets/CServerInfoSyncPacket.h"
114114
#include "packets/CDiscordJoinPacket.h"
115115

116+
// has to be included early to prevent "unknown type name 'CRemoteCall'" in CLuaFunctionParser.h
117+
#include "CRemoteCalls.h"
118+
116119
// Lua function definitions
117120
#include "luadefs/CLuaElementDefs.h"
118121
#include "luadefs/CLuaAccountDefs.h"
@@ -142,9 +145,6 @@ struct SAclRequest;
142145
#include "luadefs/CLuaWaterDefs.h"
143146
#include "luadefs/CLuaWorldDefs.h"
144147

145-
// has to be included before CLuaFunctionParseHelpers to prevent "invalid use of incomplete type ‘class CRemoteCalls´
146-
#include "CRemoteCalls.h"
147-
148148
// Lua includes
149149
#include "lua/LuaCommon.h"
150150
#include "lua/CLuaMain.h"

0 commit comments

Comments
 (0)