mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-10 14:42:05 +00:00
Server: Oops, do the same with PaP
This commit is contained in:
parent
4f80f71cbe
commit
cb978e2288
2 changed files with 4 additions and 2 deletions
|
@ -1968,12 +1968,12 @@ void() perk_pap =
|
||||||
self.requirespower = false;
|
self.requirespower = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
precache_model ("models/machines/pap.mdl");
|
precache_model ("models/machines/quake_scale/pap.mdl");
|
||||||
precache_model ("models/machines/v_pap.mdl");
|
precache_model ("models/machines/v_pap.mdl");
|
||||||
precache_sound ("sounds/machines/papsound.wav");
|
precache_sound ("sounds/machines/papsound.wav");
|
||||||
precache_sound ("sounds/machines/papsound.wav");
|
precache_sound ("sounds/machines/papsound.wav");
|
||||||
setorigin(self, self.origin);
|
setorigin(self, self.origin);
|
||||||
setmodel (self, "models/machines/pap.mdl");
|
setmodel (self, "models/machines/quake_scale/pap.mdl");
|
||||||
setsize (self, VEC_HULL2_MIN, VEC_HULL2_MAX);
|
setsize (self, VEC_HULL2_MIN, VEC_HULL2_MAX);
|
||||||
self.classname = "perk_pap";
|
self.classname = "perk_pap";
|
||||||
self.touch = touch_pap;
|
self.touch = touch_pap;
|
||||||
|
|
|
@ -439,6 +439,8 @@ string(string asset) convert_old_asset_path =
|
||||||
return "models/machines/quake_scale/deadshot.mdl";
|
return "models/machines/quake_scale/deadshot.mdl";
|
||||||
case "models/machines/mulekick.mdl":
|
case "models/machines/mulekick.mdl":
|
||||||
return "models/machines/quake_scale/mulekick.mdl";
|
return "models/machines/quake_scale/mulekick.mdl";
|
||||||
|
case "models/machines/pap.mdl":
|
||||||
|
return "models/machines/quake_scale/pap.mdl";
|
||||||
case "progs/Sprites/lamp_glow.spr":
|
case "progs/Sprites/lamp_glow.spr":
|
||||||
return "models/sprites/lamp_glow.spr";
|
return "models/sprites/lamp_glow.spr";
|
||||||
case "progs/Sprites/lamp_glow2.spr":
|
case "progs/Sprites/lamp_glow2.spr":
|
||||||
|
|
Loading…
Reference in a new issue