1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-21 05:18:05 +00:00

fixes for Emscripten, and for compiling without tutorial

This commit is contained in:
Zeno Rogue
2017-04-15 04:48:59 +02:00
parent 0e9119c7b2
commit 4570fa2ea4
10 changed files with 19114 additions and 7 deletions

View File

@@ -1493,7 +1493,7 @@ void showDemo() {
dialog::addBreak(50);
dialog::addItem(XLAT("play"), 'f');
dialog::addItem(XLAT("tutorial"), 't');
dialog::addItem(XLAT("tutorial"), 'T');
dialog::addItem(XLAT("help"), 'h'); dialog::lastItem().keycaption += " / F1";
dialog::addItem(XLAT("toggle high detail"), 'a');
dialog::addBreak(100);
@@ -1522,9 +1522,9 @@ void handleDemoKey(int sym, int uni) {
else restartGame();
cmode = emNormal;
}
else if(sym == 't') {
else if(sym == 'T') {
firstland = laIce;
if(!tour::on) restartGame('T');
if(!tour::on) tour::start();
cmode = emNormal;
}
else if(sym == 't') {