1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-18 15:37:40 +00:00

added hooks_fixticks

This commit is contained in:
Zeno Rogue
2017-12-02 00:20:35 +01:00
parent 17ddb6dadb
commit d7a4b4ca4a

View File

@@ -292,6 +292,8 @@ bool handleTune(int sym, int uni) {
}
#endif
purehookset hooks_fixticks;
void handleKeyNormal(int sym, int uni) {
if(cheater) {
@@ -440,6 +442,7 @@ void mainloopiter() {
if(conformal::on) conformal::apply();
ticks = SDL_GetTicks();
callhooks(hooks_fixticks);
int timetowait = lastt + 1000 / cframelimit - ticks;