aboutsummaryrefslogtreecommitdiff
path: root/backends/sdl
diff options
context:
space:
mode:
Diffstat (limited to 'backends/sdl')
-rw-r--r--backends/sdl/sdl-common.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/sdl/sdl-common.cpp b/backends/sdl/sdl-common.cpp
index f39525893c..3d9d6c794e 100644
--- a/backends/sdl/sdl-common.cpp
+++ b/backends/sdl/sdl-common.cpp
@@ -106,6 +106,10 @@ OSystem_SDL_Common::OSystem_SDL_Common()
// reset mouse state
memset(&km, 0, sizeof(km));
+ cd_end_time = 0;
+ cd_num_loops = 0;
+ cd_duration = 0;
+ cd_stop_time = 0;
}
OSystem_SDL_Common::~OSystem_SDL_Common() {