Fix compilation units test; update hash
authorterencehill <piuntn@gmail.com>
Sat, 9 Sep 2017 13:06:02 +0000 (15:06 +0200)
committerterencehill <piuntn@gmail.com>
Sat, 9 Sep 2017 13:06:02 +0000 (15:06 +0200)
.gitlab-ci.yml
qcsrc/client/main.qc

index 596f61a..9305f52 100644 (file)
@@ -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 '^:'
index 988cdf3..609e037 100644 (file)
@@ -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]) {