mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-27 15:32:53 +00:00
ru:: do not affect gframeid if not playing
This commit is contained in:
parent
7ab4f6f580
commit
9bb368a1de
@ -359,7 +359,6 @@ void add_platf_hooks() {
|
||||
while(gtime > 1000. / game_fps) {
|
||||
gtime -= 1000. / game_fps;
|
||||
|
||||
gframeid++;
|
||||
update_keystate();
|
||||
|
||||
switch(cmode) {
|
||||
@ -368,6 +367,7 @@ void add_platf_hooks() {
|
||||
break;
|
||||
|
||||
case mode::playing:
|
||||
gframeid++;
|
||||
playing_frame();
|
||||
break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user