Fixed tics to seconds conversion, now in ZScript

Stat screens display correct time values
This commit is contained in:
alexey.lysiuk 2017-12-25 12:36:37 +02:00
parent 205c64d4b1
commit 35dbe965e1

View file

@ -417,8 +417,7 @@ class Thinker : Object native play
static clearscope int Tics2Seconds(int tics)
{
// This compensates for one tic being slightly less than 1/35 of a second.
return int(tics * (0.98 / TICRATE));
return int(tics / TICRATE);
}
}