Skip to content

Commit 89c2e1d

Browse files
committed
Fix remaining NetCommandMsg instantiations in NetPacket.cpp
1 parent ce3c915 commit 89c2e1d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

GeneralsMD/Code/GameEngine/Source/GameNetwork/NetPacket.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5229,12 +5229,12 @@ NetCommandMsg * NetPacket::readProgressMessage(UnsignedByte *data, Int &i) {
52295229
}
52305230

52315231
NetCommandMsg * NetPacket::readLoadCompleteMessage(UnsignedByte *data, Int &i) {
5232-
NetCommandMsg *msg = newInstance(NetCommandMsg);
5232+
NetLoadCompleteCommandMsg *msg = newInstance(NetLoadCompleteCommandMsg);
52335233
return msg;
52345234
}
52355235

52365236
NetCommandMsg * NetPacket::readTimeOutGameStartMessage(UnsignedByte *data, Int &i) {
5237-
NetCommandMsg *msg = newInstance(NetCommandMsg);
5237+
NetTimeOutGameStartCommandMsg *msg = newInstance(NetTimeOutGameStartCommandMsg);
52385238
return msg;
52395239
}
52405240

0 commit comments

Comments
 (0)