cpistol warnings removed. Needs to be reverted when cpistol gets added in

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6988 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Ronald Reagan
2012-12-19 01:02:41 +00:00
parent 50c9c0365c
commit c873eaccd3
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -499,6 +499,7 @@ void preload_playermodels()
if(dynshadow && playermdl) playermdl->genshadows(8.0f, 4.0f);
loopi(NUMGUNS)
{
if (i==GUN_CPISTOL) continue; //RR 18/12/12 - Remove when cpistol is added.
defformatstring(widn)("modmdlvwep%d", i);
defformatstring(vwep)("weapons/%s/world", identexists(widn)?getalias(widn):guns[i].modelname);
model *vwepmdl = loadmodel(vwep);