1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-19 23:30:25 +00:00

resetModes works without CAP_RUG

This commit is contained in:
Zeno Rogue 2018-01-20 17:50:13 +01:00
parent daf022b7e0
commit 32fa086b4e

View File

@ -366,7 +366,9 @@ void resetModes(char leave) {
pmodel = mdDisk; vid.alpha = 1; vid.scale = 1;
vid.xposition = vid.yposition = 0;
#if CAP_RUG
if(rug::rugged) rug::close();
#endif
vid.monmode = DEFAULT_MONMODE;
vid.wallmode = DEFAULT_WALLMODE;