mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-20 07:30:26 +00:00
resetModes works without CAP_RUG
This commit is contained in:
parent
daf022b7e0
commit
32fa086b4e
@ -366,7 +366,9 @@ void resetModes(char leave) {
|
|||||||
|
|
||||||
pmodel = mdDisk; vid.alpha = 1; vid.scale = 1;
|
pmodel = mdDisk; vid.alpha = 1; vid.scale = 1;
|
||||||
vid.xposition = vid.yposition = 0;
|
vid.xposition = vid.yposition = 0;
|
||||||
|
#if CAP_RUG
|
||||||
if(rug::rugged) rug::close();
|
if(rug::rugged) rug::close();
|
||||||
|
#endif
|
||||||
|
|
||||||
vid.monmode = DEFAULT_MONMODE;
|
vid.monmode = DEFAULT_MONMODE;
|
||||||
vid.wallmode = DEFAULT_WALLMODE;
|
vid.wallmode = DEFAULT_WALLMODE;
|
||||||
|
Loading…
Reference in New Issue
Block a user