1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-18 03:09:59 +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.spin = cwt.spin;
else centerover = cwt;
cwtV = Id;
// SDL_LockSurface(s);
// SDL_UnlockSurface(s);
}