mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 20:41:46 +00:00
Fix a comment and other minor edits
This commit is contained in:
parent
fbf95915b5
commit
3efbe62a41
1 changed files with 3 additions and 3 deletions
|
|
@ -73,7 +73,7 @@ searchwaypointstart:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Matching waypoint was found down this path
|
// Matching waypoint was not found down this path
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -126,7 +126,7 @@ static void K_AddPrevToWaypoint(waypoint_t *waypoint, waypoint_t *prevwaypoint)
|
||||||
|
|
||||||
if (!waypoint->prevwaypoints)
|
if (!waypoint->prevwaypoints)
|
||||||
{
|
{
|
||||||
I_Error("K_AddPrevToWaypoint: Out of Memory");
|
I_Error("K_AddPrevToWaypoint: Failed to reallocate memory for previous waypoints.");
|
||||||
}
|
}
|
||||||
|
|
||||||
waypoint->prevwaypoints[waypoint->numprevwaypoints - 1] = prevwaypoint;
|
waypoint->prevwaypoints[waypoint->numprevwaypoints - 1] = prevwaypoint;
|
||||||
|
|
@ -251,7 +251,7 @@ static waypoint_t *K_SetupWaypoint(mobj_t *mobj)
|
||||||
--------------------------------------------------*/
|
--------------------------------------------------*/
|
||||||
void K_SetupWaypointList()
|
void K_SetupWaypointList()
|
||||||
{
|
{
|
||||||
if (waypointcap == NULL)
|
if (!waypointcap)
|
||||||
{
|
{
|
||||||
CONS_Debug(DBG_GAMELOGIC, "WARNING: K_SetupWaypointList called with no waypointcap.");
|
CONS_Debug(DBG_GAMELOGIC, "WARNING: K_SetupWaypointList called with no waypointcap.");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue