From 1a992df8b237a07c159ffe0cb093d6440780bd8b Mon Sep 17 00:00:00 2001 From: terencehill Date: Sat, 9 Sep 2017 15:06:02 +0200 Subject: [PATCH] Fix compilation units test; update hash --- .gitlab-ci.yml | 2 +- qcsrc/client/main.qc | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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]) { -- 2.39.2