1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

resetview sets cwtV so that it has a reasonable value

This commit is contained in:
Zeno Rogue 2018-01-13 21:58:50 +01:00
parent 3095afc94b
commit d591d5f915

View File

@ -588,6 +588,7 @@ void resetview() {
viewctr.h = cwt.c->master, viewctr.h = cwt.c->master,
viewctr.spin = cwt.spin; viewctr.spin = cwt.spin;
else centerover = cwt; else centerover = cwt;
cwtV = Id;
// SDL_LockSurface(s); // SDL_LockSurface(s);
// SDL_UnlockSurface(s); // SDL_UnlockSurface(s);
} }