SERVER/FTE: Fix Load_Waypoints_Legacy not applying targetnames

This commit is contained in:
Steam Deck User 2023-03-28 21:52:42 -04:00
parent 4a53ba716d
commit 28001a1209
1 changed files with 4 additions and 3 deletions

View File

@ -724,12 +724,13 @@ void() Load_Waypoints_Legacy
new_way.targets[5] = trg6; new_way.targets[5] = trg6;
new_way.targets[6] = trg7; new_way.targets[6] = trg7;
new_way.targets[7] = trg8; new_way.targets[7] = trg8;
new_way.targetname = special;
setorigin(new_way, where); setorigin(new_way, where);
if (!special) { if (special != "" && special != " ") {
setmodel(new_way, "models/way/normal_way.spr");
} else {
setmodel(new_way, "models/way/normal_way_door.spr"); setmodel(new_way, "models/way/normal_way_door.spr");
} else {
setmodel(new_way, "models/way/normal_way.spr");
} }
} }