mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-23 05:30:41 -05:00
Containment: fix waypoint sort
This commit is contained in:
@ -1432,6 +1432,7 @@ show_grief_hud_msg( msg, msg_parm, offset, delay )
|
|||||||
zgrief_hudmsg.aligny = "middle";
|
zgrief_hudmsg.aligny = "middle";
|
||||||
zgrief_hudmsg.horzalign = "center";
|
zgrief_hudmsg.horzalign = "center";
|
||||||
zgrief_hudmsg.vertalign = "middle";
|
zgrief_hudmsg.vertalign = "middle";
|
||||||
|
zgrief_hudmsg.sort = 1;
|
||||||
zgrief_hudmsg.y -= 130;
|
zgrief_hudmsg.y -= 130;
|
||||||
|
|
||||||
if ( self issplitscreen() )
|
if ( self issplitscreen() )
|
||||||
@ -2368,6 +2369,7 @@ containment_waypoint_init()
|
|||||||
containment_waypoint.alpha = 0.5;
|
containment_waypoint.alpha = 0.5;
|
||||||
containment_waypoint.hidewheninmenu = 1;
|
containment_waypoint.hidewheninmenu = 1;
|
||||||
containment_waypoint.fadewhentargeted = 1;
|
containment_waypoint.fadewhentargeted = 1;
|
||||||
|
containment_waypoint.foreground = 1;
|
||||||
|
|
||||||
return containment_waypoint;
|
return containment_waypoint;
|
||||||
}
|
}
|
||||||
@ -2491,7 +2493,6 @@ containment_think()
|
|||||||
player.containment_waypoint.x = 0;
|
player.containment_waypoint.x = 0;
|
||||||
player.containment_waypoint.y = -100;
|
player.containment_waypoint.y = -100;
|
||||||
player.containment_waypoint.z = 0;
|
player.containment_waypoint.z = 0;
|
||||||
player.containment_waypoint.foreground = 1;
|
|
||||||
player.containment_waypoint setShader("waypoint_revive", getDvarInt("waypointIconWidth"), getDvarInt("waypointIconHeight"));
|
player.containment_waypoint setShader("waypoint_revive", getDvarInt("waypointIconWidth"), getDvarInt("waypointIconHeight"));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -2524,7 +2525,6 @@ containment_think()
|
|||||||
player.containment_waypoint.z = zone.volumes[0].origin[2];
|
player.containment_waypoint.z = zone.volumes[0].origin[2];
|
||||||
}
|
}
|
||||||
|
|
||||||
player.containment_waypoint.foreground = 0;
|
|
||||||
player.containment_waypoint setWaypoint(1, "waypoint_revive");
|
player.containment_waypoint setWaypoint(1, "waypoint_revive");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user