mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-22 20:01:34 +00:00
SERVER: Fix offsets for maps that use old lamp sprites
This commit is contained in:
parent
986e465552
commit
818e413753
1 changed files with 3 additions and 0 deletions
|
@ -516,6 +516,9 @@ string(string asset) convert_old_asset_path =
|
||||||
ret = "models/sprites/lamp_glow.spr";
|
ret = "models/sprites/lamp_glow.spr";
|
||||||
break;
|
break;
|
||||||
case "progs/sprites/lamp_glow2.spr":
|
case "progs/sprites/lamp_glow2.spr":
|
||||||
|
// HACK HACK -- old maps that used this sprite were working with
|
||||||
|
// a broken offset, fix it.
|
||||||
|
self.origin_z -= 32;
|
||||||
ret = "models/sprites/lamp_glow2.spr";
|
ret = "models/sprites/lamp_glow2.spr";
|
||||||
break;
|
break;
|
||||||
case "progs/sprites/lamp_glow3.spr":
|
case "progs/sprites/lamp_glow3.spr":
|
||||||
|
|
Loading…
Reference in a new issue