From d591d5f915698fe6b75357a61eb5016303add26f Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 13 Jan 2018 21:58:50 +0100 Subject: [PATCH] resetview sets cwtV so that it has a reasonable value --- hypgraph.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/hypgraph.cpp b/hypgraph.cpp index 74ad1e2c..7dabcd23 100644 --- a/hypgraph.cpp +++ b/hypgraph.cpp @@ -588,6 +588,7 @@ void resetview() { viewctr.h = cwt.c->master, viewctr.spin = cwt.spin; else centerover = cwt; + cwtV = Id; // SDL_LockSurface(s); // SDL_UnlockSurface(s); }