zquake style support for te_beam

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@83 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2004-08-31 09:16:56 +00:00
parent 944139224f
commit f1879caaba
1 changed files with 4 additions and 1 deletions

View File

@ -329,7 +329,10 @@ void CL_ParseBeam (int tent)
m = Mod_ForName("progs/bolt.mdl", true);
break;
case 1:
m = Mod_ForName("progs/bolt2.mdl", true);
if (ent < 0 && ent >= -MAX_CLIENTS) //based on the railgun concept - this adds a rogue style TE_BEAM effect.
m = Mod_ForName("progs/beam.mdl", false); //remember to precache!
else
m = Mod_ForName("progs/bolt2.mdl", true);
break;
case 2:
m = Mod_ForName("progs/bolt3.mdl", true);