Fallen wps complete

This commit is contained in:
ineedbots 2021-07-16 12:11:48 -06:00
parent f069eb35df
commit c9bc56dc65
2 changed files with 1787 additions and 1575 deletions

View File

@ -289,7 +289,7 @@ updateWaypointsStats()
wait 0.05; wait 0.05;
intTimer += 50; intTimer += 50;
totalWpsHud setText( level.waypointCount ); totalWpsHud setValue( level.waypointCount );
closest = -1; closest = -1;
myEye = self getEye(); myEye = self getEye();
@ -339,13 +339,13 @@ updateWaypointsStats()
self.nearest = closest; self.nearest = closest;
nearestWP setText( self.nearest ); nearestWP setValue( self.nearest );
children setText( buildChildCountString( self.nearest ) ); children setValue( buildChildCountString( self.nearest ) );
type setText( buildTypeString( self.nearest ) ); type setText( buildTypeString( self.nearest ) );
wpToLink setText( level.wpToLink ); wpToLink setValue( level.wpToLink );
infotext.x = infotext.x - 2; infotext.x = infotext.x - 2;
@ -840,9 +840,9 @@ DeleteAllWaypoints()
buildChildCountString ( wp ) buildChildCountString ( wp )
{ {
if ( wp == -1 ) if ( wp == -1 )
return ""; return -1;
wpstr = level.waypoints[wp].children.size + ""; wpstr = level.waypoints[wp].children.size;
return wpstr; return wpstr;
} }

File diff suppressed because it is too large Load Diff