mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 10:52:22 +01:00
Atleast we go ingame
This commit is contained in:
@@ -61,7 +61,15 @@ public:
|
||||
if (CurveTableMode == ECurveTableMode::SimpleCurves)
|
||||
{
|
||||
auto& RowMap = ((UDataTable*)this)->GetRowMap<FSimpleCurve>(); // its the same offset so
|
||||
auto Curve = RowMap.Find(RowName);
|
||||
auto CurvePtr = RowMap.Find(RowName);
|
||||
|
||||
if (!CurvePtr)
|
||||
{
|
||||
LOG_WARN(LogDev, "Failed to get curve!");
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
auto Curve = *CurvePtr;
|
||||
auto& Keys = Curve->GetKeys();
|
||||
return Keys.Num() > Index ? &Curve->GetKeys().at(Index) : nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user