mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-25 19:07:40 +00:00
ru:: do not affect gframeid if not playing
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user