diff options
author | epoch <epoch@hacking.allowed.org> | 2020-02-24 00:54:12 -0600 |
---|---|---|
committer | epoch <epoch@hacking.allowed.org> | 2020-02-24 00:54:12 -0600 |
commit | 63923c673ef448f8a77083c97e469acd9b7f19b0 (patch) | |
tree | 0c56f987c4defff9772bc0ef0f7968575247a4a5 /src | |
parent | 7272b080db41ef9033b83a991ee44e7a24176b62 (diff) | |
download | hackvr-63923c673ef448f8a77083c97e469acd9b7f19b0.tar.gz hackvr-63923c673ef448f8a77083c97e469acd9b7f19b0.zip |
forgot to initialize the oldmouse in gra_global
Diffstat (limited to 'src')
-rw-r--r-- | src/graphics_c3.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |