mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-22 13:30:06 +00:00
updated tabledata comment
This commit is contained in:
parent
b146328484
commit
f74306bc89
@ -574,10 +574,12 @@ static void loadDrops(json& dropData) {
|
|||||||
|
|
||||||
EPInfo& epInfo = Racing::EPData[EPMap];
|
EPInfo& epInfo = Racing::EPData[EPMap];
|
||||||
|
|
||||||
// time limit isn't stored in the XDT, so we include it in the reward table instead
|
// max score is specified in the XDT, but can be updated if specified in the drops JSON
|
||||||
epInfo.maxTime = (int)race["TimeLimit"];
|
|
||||||
epInfo.maxScore = (int)race["ScoreCap"];
|
epInfo.maxScore = (int)race["ScoreCap"];
|
||||||
|
// time limit and total pods are not stored in the XDT, so we include it in the drops JSON
|
||||||
|
epInfo.maxTime = (int)race["TimeLimit"];
|
||||||
epInfo.maxPods = (int)race["TotalPods"];
|
epInfo.maxPods = (int)race["TotalPods"];
|
||||||
|
// IZ-specific calculated constants included in the drops JSON
|
||||||
epInfo.scaleFactor = (double)race["ScaleFactor"];
|
epInfo.scaleFactor = (double)race["ScaleFactor"];
|
||||||
epInfo.podFactor = (double)race["PodFactor"];
|
epInfo.podFactor = (double)race["PodFactor"];
|
||||||
epInfo.timeFactor = (double)race["TimeFactor"];
|
epInfo.timeFactor = (double)race["TimeFactor"];
|
||||||
|
Loading…
Reference in New Issue
Block a user