We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a9db21 commit 028aa45Copy full SHA for 028aa45
GeneralsMD/Code/GameEngine/Include/GameNetwork/NetworkDefs.h
@@ -170,7 +170,12 @@ enum PlayerLeaveCode CPP_11(: Int) {
170
};
171
172
// Magic number for identifying a Generals packet.
173
+#if defined(_MSC_VER) && _MSC_VER < 1300
174
+// Original retail value is used for builds with VC6 (should be compatible)
175
static const UnsignedShort GENERALS_MAGIC_NUMBER = 0xF00D;
176
+#else
177
+static const UnsignedShort GENERALS_MAGIC_NUMBER = 0xF00D+1;
178
+#endif
179
180
// The number of fps history entries.
181
//static const Int NETWORK_FPS_HISTORY_LENGTH = 30;
0 commit comments