From 0e8054175d1ba6898830a2df20ea7f6660880f80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Wed, 20 Jul 2022 02:12:57 +0200 Subject: Fix timer. --- c/main.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'c') diff --git a/c/main.cpp b/c/main.cpp index 1a50c6f..a72de53 100644 --- a/c/main.cpp +++ b/c/main.cpp @@ -280,6 +280,7 @@ LRESULT CALLBACK WndProc(const HWND hWnd, const UINT uMsg, const WPARAM wParam, TEXT(""))); } else { i = 0; + g_bThread = 0; prefer(hWnd, IDT_TIMER); g_pElv->Update(); } -- cgit v1.2.3