From 63923c673ef448f8a77083c97e469acd9b7f19b0 Mon Sep 17 00:00:00 2001 From: epoch Date: Mon, 24 Feb 2020 00:54:12 -0600 Subject: forgot to initialize the oldmouse in gra_global --- src/graphics_c3.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/graphics_c3.c b/src/graphics_c3.c index 1d69ca6..534863c 100644 --- a/src/graphics_c3.c +++ b/src/graphics_c3.c @@ -523,6 +523,7 @@ int graphics_init() { global.camera.p.y=10;//10 units above the ground should be as low as it goes. global.camera.p.z=-6; + gra_global.oldcamera=global.camera.r; gra_global.input_mode=DEFAULT_INPUT_MODE; gra_global.split_screen=SPLIT_SCREEN; gra_global.split_flip=-1; -- cgit v1.2.3