]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Fix a bug where an eaten player would see the stomach model left behind in online...
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 2 Sep 2010 12:33:49 +0000 (15:33 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 2 Sep 2010 12:33:49 +0000 (15:33 +0300)
Todo & known bugs.txt
data/qcsrc/server/g_subs.qc

index b5283c1770a17e2a6749a7ef19df5e50619c1a43..350a17ccac8e4d2b1c62e220c28240319256a88b 100644 (file)
@@ -16,8 +16,6 @@ Todo:
 \r
 Known bugs:\r
 \r
-- (major) A player in the belly may sometimes see the stomach model (eater) being left behind as he walks. Doesn't happen with bots, only with real players over network. It's possible that .aiment might not do the trick.\r
-\r
 - VoreTournament freezes 6-7 seconds after startup for about 5 seconds. This is due to the rebranding (using the -customgamename flag)\r
 \r
 - Prey bots don't kick in the stomach in Arena and Clan Arena gametypes\r
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