mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-10 06:31:44 +00:00
Merge branch 'main' of https://github.com/nzp-team/quakec
This commit is contained in:
commit
5c4beb453d
1 changed files with 3 additions and 3 deletions
|
@ -253,7 +253,7 @@ float Do_Pathfind(entity from, entity to) {
|
|||
dist = 0;
|
||||
best_dist = 100000000;
|
||||
|
||||
#ifndef PSP
|
||||
#ifdef FTE
|
||||
for (i = 0; i < MAX_WAYPOINTS; i = i + 1) {
|
||||
// Skip unused waypoint slots
|
||||
if(waypoints[i].id < 0) {
|
||||
|
@ -343,7 +343,7 @@ void LoadWaypointData() {
|
|||
float i, s;
|
||||
|
||||
|
||||
#ifndef PSP
|
||||
#ifdef FTE
|
||||
for (i = 0; i < MAX_WAYPOINTS; i = i + 1) {
|
||||
waypoint_ai way;
|
||||
|
||||
|
@ -484,7 +484,7 @@ void LoadWaypointData() {
|
|||
|
||||
fclose(file);
|
||||
|
||||
#ifndef PSP
|
||||
#ifdef FTE
|
||||
CalcDistances();
|
||||
#endif
|
||||
}
|
Loading…
Reference in a new issue