Skip to content
This repository was archived by the owner on Sep 22, 2021. It is now read-only.

Commit 0e178dc

Browse files
committed
forgot to actually parse ServerInfo...
1 parent c12451b commit 0e178dc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

DemoInfo/DP/DemoPacketParser.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,11 @@ public static void ParsePacket(IBitStream bitstream, DemoParser demo)
4545
} else if (cmd == (int)SVC_Messages.svc_UpdateStringTable) {
4646
new UpdateStringTable().Parse(bitstream, demo);
4747
} else if (cmd == (int)NET_Messages.net_Tick) { //and all this other stuff
48-
new NETTick().Parse(bitstream, demo);
48+
new NETTick().Parse(bitstream, demo);
4949
} else if (cmd == (int)SVC_Messages.svc_UserMessage) {
5050
new UserMessage().Parse(bitstream, demo);
51+
} else if (cmd == (int)SVC_Messages.svc_ServerInfo) {
52+
new ServerInfo().Parse(bitstream, demo);
5153
} else {
5254
//You can use this flag to see what information the other packets contain,
5355
//if you want. Then you can look into the objects. Has some advnatages, and some disdavantages (mostly speed),

0 commit comments

Comments
 (0)