r5679 - trunk/data/qcsrc/client
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Tue Jan 27 10:15:10 EST 2009
Author: div0
Date: 2009-01-27 10:14:52 -0500 (Tue, 27 Jan 2009)
New Revision: 5679
Modified:
trunk/data/qcsrc/client/mapvoting.qc
Log:
fix access to mv_maps_mask
Modified: trunk/data/qcsrc/client/mapvoting.qc
===================================================================
--- trunk/data/qcsrc/client/mapvoting.qc 2009-01-27 14:49:40 UTC (rev 5678)
+++ trunk/data/qcsrc/client/mapvoting.qc 2009-01-27 15:14:52 UTC (rev 5679)
@@ -277,9 +277,9 @@
mv_timeout = ReadCoord();
if(mv_num_maps <= 8)
- m = ReadByte();
+ mv_maps_mask = ReadByte();
else
- m = ReadShort();
+ mv_maps_mask = ReadShort();
// Assume mv_pk3list is NULL, there should only be 1 mapvote per round
mv_pk3list = NULL; // I'm still paranoid!
@@ -288,7 +288,7 @@
{
mv_votes[i] = 0;
- if(m & power)
+ if(mv_maps_mask & power)
{
map = strzone(ReadString());
pk3 = strzone(ReadString());
More information about the nexuiz-commits
mailing list