]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/triggers/func/rainsnow.qc
Net: register all types
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / triggers / func / rainsnow.qc
index 18c2c0a0fb91c9cb9adecb5fc5bb5a253530e93b..91dc8bad6afdbba97de195cf3fe75fde12805dc3 100644 (file)
@@ -1,7 +1,7 @@
 #ifdef SVQC
 bool rainsnow_SendEntity(entity this, entity to, float sf)
 {
-       WriteByte(MSG_ENTITY, ENT_CLIENT_RAINSNOW);
+       WriteHeader(MSG_ENTITY, ENT_CLIENT_RAINSNOW);
        WriteByte(MSG_ENTITY, self.state);
        WriteCoord(MSG_ENTITY, self.origin_x + self.mins_x);
        WriteCoord(MSG_ENTITY, self.origin_y + self.mins_y);