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:
parent
3095afc94b
commit
d591d5f915
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user