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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user