fp: Vary the spawn and waypoints

This commit is contained in:
2023-10-08 19:48:17 +11:00
parent 179a683e25
commit ab61a482c7
2 changed files with 65 additions and 42 deletions
+2 -1
View File
@@ -757,10 +757,11 @@ static Dqn_V2 FP_Game_CalcWaypointWorldPos(FP_Game *game, FP_GameEntityHandle sr
} break;
case FP_GameWaypointType_Offset: {
result = FP_Game_CalcEntityWorldPos(game, waypoint_entity->handle) + waypoint->offset;
result = FP_Game_CalcEntityWorldPos(game, waypoint_entity->handle);
} break;
}
result += waypoint->offset;
return result;
}