mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-28 07:52: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) {
|
while(gtime > 1000. / game_fps) {
|
||||||
gtime -= 1000. / game_fps;
|
gtime -= 1000. / game_fps;
|
||||||
|
|
||||||
gframeid++;
|
|
||||||
update_keystate();
|
update_keystate();
|
||||||
|
|
||||||
switch(cmode) {
|
switch(cmode) {
|
||||||
@ -368,6 +367,7 @@ void add_platf_hooks() {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case mode::playing:
|
case mode::playing:
|
||||||
|
gframeid++;
|
||||||
playing_frame();
|
playing_frame();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user