fp: Vary the spawn and waypoints
This commit is contained in:
+2
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user