SERVER: Fix offsets for maps that use old lamp sprites

This commit is contained in:
cypress 2023-10-31 12:31:58 -04:00
parent 986e465552
commit 818e413753

View file

@ -516,6 +516,9 @@ string(string asset) convert_old_asset_path =
ret = "models/sprites/lamp_glow.spr";
break;
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";
break;
case "progs/sprites/lamp_glow3.spr":