1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-13 20:27:10 +00:00

drawing tool now actually does enable the cheat mode

This commit is contained in:
Zeno Rogue
2025-08-29 01:51:22 +02:00
parent f4f3d6bcc1
commit 3133439b19

View File

@@ -344,10 +344,12 @@ EX void showCreative() {
dialog::addItem(XLAT("drawing tool"), 'd'); dialog::addItem(XLAT("drawing tool"), 'd');
dialog::add_action([] { dialog::add_action([] {
dialog::cheat_if_confirmed([] { dialog::cheat_if_confirmed([] {
cheater++;
mapeditor::drawing_tool = true; mapeditor::drawing_tool = true;
mapeditor::intexture = false; mapeditor::intexture = false;
pushScreen(mapeditor::showDrawEditor); pushScreen(mapeditor::showDrawEditor);
mapeditor::initdraw(cwt.at); mapeditor::initdraw(cwt.at);
addMessage(XLAT("You activate your imagination powers!"));
}); });
}); });
#endif #endif