mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-12-19 12:28:07 +00:00
viewctr is no more... major reduction of redundancy/complexity
This commit is contained in:
@@ -559,7 +559,7 @@ EX void viewall() {
|
||||
|
||||
/** launch a debugging screen, and continue normal working only after this screen is closed */
|
||||
EX void modalDebug(cell *c) {
|
||||
viewctr.at = c->master;
|
||||
centerover = c; View = Id;
|
||||
if(noGUI) {
|
||||
fprintf(stderr, "fatal: modalDebug called on %p without GUI\n", c);
|
||||
exit(1);
|
||||
|
||||
Reference in New Issue
Block a user