From: terencehill Date: Sat, 9 Sep 2017 13:06:02 +0000 (+0200) Subject: Fix compilation units test; update hash X-Git-Tag: xonotic-v0.8.5~2476 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1a992df8b237a07c159ffe0cb093d6440780bd8b;p=xonotic%2Fxonotic-data.pk3dir.git Fix compilation units test; update hash --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 596f61ad1..9305f527c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -29,7 +29,7 @@ test_sv_game: - wget -O data/maps/stormkeep.waypoints https://gitlab.com/xonotic/xonotic-maps.pk3dir/raw/master/maps/stormkeep.waypoints - wget -O data/maps/stormkeep.waypoints.cache https://gitlab.com/xonotic/xonotic-maps.pk3dir/raw/master/maps/stormkeep.waypoints.cache - make - - EXPECT=0a08daa9132d147f533776deda07643e + - EXPECT=ed9be8d1b1a544f89bcdd7d36876fede - HASH=$(${ENGINE} -noconfig -nohome +exec serverbench.cfg | tee /dev/stderr | grep '^:' diff --git a/qcsrc/client/main.qc b/qcsrc/client/main.qc index 988cdf35e..609e03775 100644 --- a/qcsrc/client/main.qc +++ b/qcsrc/client/main.qc @@ -605,7 +605,8 @@ NET_HANDLE(ENT_CLIENT_NAGGER, bool isnew) NET_HANDLE(ENT_CLIENT_ELIMINATEDPLAYERS, bool isnew) { make_pure(this); - int sf; serialize(byte, 0, sf); + int sf = 0; + serialize(byte, 0, sf); if (sf & 1) { for (int j = 0; j < maxclients; ++j) { if (playerslots[j]) {