]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/triggers/func/door.qc
Net: register all types
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / triggers / func / door.qc
index e2d12281680c236888ecda11f3fe47e5fe4decab..6eaf2547b9f77627682e02db932349fc80da2544 100644 (file)
@@ -631,7 +631,7 @@ FIXME: only one sound set available at the time being
 
 float door_send(entity to, float sf)
 {SELFPARAM();
-       WriteByte(MSG_ENTITY, ENT_CLIENT_DOOR);
+       WriteHeader(MSG_ENTITY, ENT_CLIENT_DOOR);
        WriteByte(MSG_ENTITY, sf);
 
        if(sf & SF_TRIGGER_INIT)