Make sure FPS limit in the main menu is always correct
commit862622c29a7e3ef73c986735a69a56c17a774172
authorThomas Perl <thp@perli.net>
Wed, 22 Oct 2008 20:11:04 +0000 (22 22:11 +0200)
committerThomas Perl <thp@perli.net>
Wed, 22 Oct 2008 20:11:04 +0000 (22 22:11 +0200)
tree239aed568a0c51a12d5f30a15110f250d932d851
parent10635ec92d8d3fafd83be699324d38c6c0d8cfd1
Make sure FPS limit in the main menu is always correct

Without this patch, after the gameloop has finished, we
won't have reset the FPS counter, so the FPS limiter
will be practically disabled, depending on how long you
played.

With this patch, the FPS limit counter is reset after
the gameloop has finished, so we always have a correct
way of calculating FPS. This can probably be improved.
tennix.c