mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-22 20:01:34 +00:00
SERVER/FTE: Fix Load_Waypoints_Legacy not applying targetnames
This commit is contained in:
parent
4a53ba716d
commit
28001a1209
1 changed files with 4 additions and 3 deletions
|
@ -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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue