]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/Main.qc
send bytes instead of shorts in the vote dialog.
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / Main.qc
index 7d218cb6540ee0621e99aae09e8fe2371d61571c..de5aad9d48311eaa69f1f2ea7f330063fd0291c5 100644 (file)
@@ -1224,13 +1224,13 @@ void Net_ReadPingPLReport()
 
 void Net_VoteDialog(float highlight) {
        if(highlight) {
-               vote_highlighted = ReadShort();
+               vote_highlighted = ReadByte();
                return;
        }
 
-       vote_yescount = ReadShort();
-       vote_nocount = ReadShort();
-       vote_needed = ReadShort();
+       vote_yescount = ReadByte();
+       vote_nocount = ReadByte();
+       vote_needed = ReadByte();
        vote_active = 1;
 }