Fix a bug where an eaten player would see the stomach model left behind in online...
[voretournament/voretournament.git] / data / qcsrc / server / g_subs.qc
index 49aaebf6f7be52242bd84810085dc115d1baf095..b1871185c4d6ff8f297c7670f9dc281f0425fc72 100644 (file)
@@ -16,6 +16,11 @@ void spawnfunc_info_null (void)
 \r
 void setanim(entity e, vector anim, float looping, float override, float restart)\r
 {\r
+       float n;\r
+       n = tokenizebyseparator(self.model, ".");\r
+       if(argv(1) == "md3")\r
+               return;\r
+\r
        if (anim_x == e.animstate_startframe)\r
        if (anim_y == e.animstate_numframes)\r
        if (anim_z == e.animstate_framerate)\r