diff --git a/source/src/hudgun.h b/source/src/hudgun.h index 91bd7a19..c7275c6e 100644 --- a/source/src/hudgun.h +++ b/source/src/hudgun.h @@ -115,6 +115,7 @@ void preload_hudguns() { loopi(NUMGUNS) { + if (i==GUN_CPISTOL) continue; //RR 18/12/12 - Remove when cpistol is added. defformatstring(widn)("modmdlweap%d", i); defformatstring(path)("weapons/%s", identexists(widn)?getalias(widn):guns[i].modelname); loadmodel(path); diff --git a/source/src/rendermodel.cpp b/source/src/rendermodel.cpp index 43312743..286f25a7 100644 --- a/source/src/rendermodel.cpp +++ b/source/src/rendermodel.cpp @@ -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);