1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-03 23:33:01 +00:00

ru:: a better implementation of next/current stats

This commit is contained in:
Zeno Rogue
2025-05-19 12:19:42 +02:00
parent 1c4746d6d0
commit 131206f1e5
6 changed files with 34 additions and 28 deletions

View File

@@ -420,7 +420,7 @@ void add_platf_hooks() {
ld tscale = 1;
if(dexmode->flags & ACTIVE)
tscale *= 10. / (10 + m.current_stats[stat::dex]);
tscale *= 10. / (10 + m.current.stats[stat::dex]);
gtime += d * tscale;
while(gtime > 1000. / game_fps) {