mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-22 11:51:11 +00:00
FTE/SERVER: Fix waypoint_core checking for wrong input to move waypoint
This commit is contained in:
parent
053906edeb
commit
6c7cad8e51
1 changed files with 5 additions and 3 deletions
|
@ -832,9 +832,6 @@ void () Waypoint_Functions =
|
||||||
Load_Waypoints();
|
Load_Waypoints();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 110:
|
|
||||||
Move_Waypoint();
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
self.impulse = 0;
|
self.impulse = 0;
|
||||||
|
@ -845,6 +842,11 @@ void () Waypoint_Functions =
|
||||||
self.waypoint_delay = time + 1;
|
self.waypoint_delay = time + 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (self.button4 && self.weapoiny_delay < time) {
|
||||||
|
Move_Waypoint();
|
||||||
|
self.waypoint_delay = time + 0.25;
|
||||||
|
}
|
||||||
|
|
||||||
if (self.button7 && self.waypoint_delay < time) {
|
if (self.button7 && self.waypoint_delay < time) {
|
||||||
Select_Waypoint();
|
Select_Waypoint();
|
||||||
self.waypoint_delay = time + 0.25;
|
self.waypoint_delay = time + 0.25;
|
||||||
|
|
Loading…
Reference in a new issue