]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/triggers/func/plat.qc
Cleanup
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / triggers / func / plat.qc
index 30d3d5681b63e64a000bf11589bcbc56a86e58e3..3b3c8eefddf41b8c5127dcaa483ec443bca8c2e8 100644 (file)
@@ -133,8 +133,8 @@ void plat_draw(entity this)
        //Movetype_Physics_MatchServer(autocvar_cl_projectiles_sloppy);
 }
 
-void ent_plat()
-{SELFPARAM();
+NET_HANDLE(ENT_CLIENT_PLAT, bool isnew)
+{
        float sf = ReadByte();
 
        if(sf & SF_TRIGGER_INIT)
@@ -197,5 +197,6 @@ void ent_plat()
                self.move_angles = self.angles;
                self.move_time = time;
        }
+       return true;
 }
 #endif