follow-up bit for Qt idlecheckpoint
This commit is contained in:
+2
-2
@@ -682,17 +682,17 @@ NetHackQtBind::free_qt_input_timer(void)
|
|||||||
static void
|
static void
|
||||||
qt_timer_fire(void)
|
qt_timer_fire(void)
|
||||||
{
|
{
|
||||||
#if defined(INSURANCE)
|
|
||||||
if (iflags.idlecheckpoint) {
|
if (iflags.idlecheckpoint) {
|
||||||
/* no input for 30 seconds, so let's take
|
/* no input for 30 seconds, so let's take
|
||||||
* advantage and do a game checkpoint,
|
* advantage and do a game checkpoint,
|
||||||
* then resume the wait.
|
* then resume the wait.
|
||||||
*/
|
*/
|
||||||
|
#if defined(INSURANCE)
|
||||||
save_currentstate();
|
save_currentstate();
|
||||||
|
#endif /* INSURANCE */
|
||||||
}
|
}
|
||||||
if (qt_input_timer->isActive())
|
if (qt_input_timer->isActive())
|
||||||
qt_input_timer->stop();
|
qt_input_timer->stop();
|
||||||
#endif /* INSURANCE */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//void
|
//void
|
||||||
|
|||||||
Reference in New Issue
Block a user