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