X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FGameTick.cpp;h=36452aa4f5e09f5c6de70fdc6ef92e8ee51199d1;hb=543c91ec63286f0fa263f0b19f242b514e7fc8bf;hp=58baac80451814c9bc9fd1f2340febe891a10f97;hpb=200ab5f2ab9164e213f738acbac2b5bbc74bcaf4;p=lugaru.git diff --git a/Source/GameTick.cpp b/Source/GameTick.cpp index 58baac8..36452aa 100644 --- a/Source/GameTick.cpp +++ b/Source/GameTick.cpp @@ -1408,13 +1408,14 @@ void Game::Loadlevel(int which){ Loadlevel("tutorial"); }else if(which >= 0 && which <= 15){ char buf[32]; - snprintf(buf, 32, "map%d", which + 1); + snprintf(buf, 32, "map%d", which + 1); // challenges Loadlevel(buf); }else Loadlevel("mapsave"); } void Game::Loadlevel(const char *name){ + cout << "loading level " << name << "…" << endl; int templength; float lamefloat; static const char *pfx = ":Data:Maps:";