]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/modeleffects.qc
Cleanup
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / modeleffects.qc
index c17940b945bae8fb8ffd1b6fcd2faceee0c61277..3a848e41d96f1350ecb9c2dda017d80d5158454e 100644 (file)
@@ -23,7 +23,7 @@ void ModelEffect_Draw(entity this)
        }
 }
 
-void Ent_ModelEffect(bool isNew)
+NET_HANDLE(ENT_CLIENT_MODELEFFECT, bool isnew)
 {
        make_pure(self);
 
@@ -66,6 +66,6 @@ void Ent_ModelEffect(bool isNew)
 
        e.draw = ModelEffect_Draw;
 
-       if(!isNew)
-               remove(e); // yes, this IS stupid, but I don't need to duplicate all the read* stuff then
+       if (!isnew) remove(e); // yes, this IS stupid, but I don't need to duplicate all the read* stuff then
+       return true;
 }