mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
- removed the 26 factor from Duke's par times.
What were they thinking?
This commit is contained in:
parent
5959543380
commit
5b54e9c1ad
2 changed files with 8 additions and 8 deletions
|
@ -1703,15 +1703,15 @@ int ConCompiler::parsecommand()
|
|||
while (*textptr == ' ' || *textptr == '\t') textptr++;
|
||||
|
||||
map->parTime =
|
||||
(((*(textptr + 0) - '0') * 10 + (*(textptr + 1) - '0')) * 26 * 60) +
|
||||
(((*(textptr + 3) - '0') * 10 + (*(textptr + 4) - '0')) * 26);
|
||||
(((*(textptr + 0) - '0') * 10 + (*(textptr + 1) - '0')) * 60) +
|
||||
(((*(textptr + 3) - '0') * 10 + (*(textptr + 4) - '0')));
|
||||
|
||||
textptr += 5;
|
||||
while (*textptr == ' ' || *textptr == '\t') textptr++;
|
||||
|
||||
map->designerTime =
|
||||
(((*(textptr + 0) - '0') * 10 + (*(textptr + 1) - '0')) * 26 * 60) +
|
||||
(((*(textptr + 3) - '0') * 10 + (*(textptr + 4) - '0')) * 26);
|
||||
(((*(textptr + 0) - '0') * 10 + (*(textptr + 1) - '0')) * 60) +
|
||||
(((*(textptr + 3) - '0') * 10 + (*(textptr + 4) - '0')));
|
||||
|
||||
map->levelNumber = levnum;
|
||||
map->cluster = j + 1;
|
||||
|
|
|
@ -681,12 +681,12 @@ class DukeLevelSummaryScreen : SummaryScreenBase
|
|||
tempbuf = FormatTime(stats.time);
|
||||
Duke.GameText((320 >> 2) + 71, 59 + 9, tempbuf, 0);
|
||||
|
||||
tempbuf = FormatTime(level.parTime / 26); // Build weirdness again...
|
||||
tempbuf = FormatTime(level.parTime);
|
||||
Duke.GameText((320 >> 2) + 71, 69 + 9, tempbuf, 0);
|
||||
|
||||
if (!Raze.isNamWW2GI())
|
||||
{
|
||||
tempbuf = FormatTime(level.designerTime / 26);
|
||||
tempbuf = FormatTime(level.designerTime);
|
||||
Duke.GameText((320 >> 2) + 71, 79 + 9, tempbuf, 0);
|
||||
}
|
||||
}
|
||||
|
@ -911,10 +911,10 @@ class RRLevelSummaryScreen : SummaryScreenBase
|
|||
tempbuf = FormatTime(stats.time);
|
||||
Duke.BigText(191, 48, tempbuf, -1);
|
||||
|
||||
tempbuf = FormatTime(level.parTime / 26);
|
||||
tempbuf = FormatTime(level.parTime);
|
||||
Duke.BigText(191, 64, tempbuf, -1);
|
||||
|
||||
tempbuf = FormatTime(level.designerTime / 26);
|
||||
tempbuf = FormatTime(level.designerTime);
|
||||
Duke.BigText(191, 80, tempbuf, -1);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue