added missing guard for intra

This commit is contained in:
Zeno Rogue 2023-04-11 16:44:22 +02:00
parent 7806f1cb70
commit dfcfee087d
1 changed files with 2 additions and 0 deletions

View File

@ -3262,6 +3262,7 @@ EX namespace mapeditor {
add_edit(game_keys_scroll);
dialog::addInfo(XLAT("hint: shift+A to enter the map editor"));
#if CAP_RAY && MAXMDIM >= 4
if(WDIM == 3 && !intra::in) {
dialog::addBoolItem(XLAT("become a portal map"), intra::in, 'm');
dialog::add_action_push(intra::become_menu);
@ -3271,6 +3272,7 @@ EX namespace mapeditor {
dialog::addItem(XLAT("manage portals"), 'm');
dialog::add_action_push(intra::show_portals);
}
#endif
dialog::addItem(XLAT("change the pattern/color of new Canvas cells"), 'c');
dialog::add_action_push(patterns::showPrePatternNoninstant);