no title displayed with tour::NOTITLE flag

This commit is contained in:
Zeno Rogue 2020-09-15 19:14:24 +02:00
parent c11e552318
commit a6482d00ab
1 changed files with 6 additions and 2 deletions

View File

@ -998,8 +998,12 @@ EX void describeMouseover() {
callhooks(hooks_mouseover, c);
if(mousey < vid.fsize * 3/2 && getcstat == '-' && !instat) getcstat = SDLK_F1;
if(tour::on && !tour::texts)
mouseovers = XLAT(tour::slides[tour::currentslide].name);
if(tour::on && !tour::texts) {
if(tour::slides[tour::currentslide].flags & tour::NOTITLE)
mouseovers = "";
else
mouseovers = XLAT(tour::slides[tour::currentslide].name);
}
}
EX void showHelp() {