Casting errors fixed
This commit is contained in:
parent
f2f71ba4cd
commit
737c9991fc
Binary file not shown.
|
@ -24,9 +24,14 @@ FString UProceduralWaterManager::StartWaterGeneration(const FProceduralRiversMet
|
|||
{
|
||||
FString errorMsg="";
|
||||
|
||||
|
||||
|
||||
if(metaInfo.WaterGenerationType == EWaterGenerationType::RIVERS)
|
||||
{
|
||||
if(RiverBlueprintClass)
|
||||
errorMsg = RiverGeneration(metaInfo);
|
||||
else
|
||||
errorMsg = "ERROR: River class not assigned";
|
||||
}
|
||||
else if(metaInfo.WaterGenerationType == EWaterGenerationType::LAKE)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue