fixed player disappearing in rogueviz presentations

This commit is contained in:
Zeno Rogue committed 2021-04-07 20:58:31 +02:00
1 parent 963c90dfbb
commit c5a40f9f68
2 files changed
+7

No files matched your search

+1
View File
@@ -528,6 +528,7 @@ namespace flocking {
using namespace tour;
setCanvas(mode, '0');
if(mode == pmStart) {
slide_backup(mapeditor::drawplayer);
t();
slide_backup(rogueviz::vertex_shape, 3);
N = _N; start_game(); init();
+6
View File
@@ -890,6 +890,12 @@ void init(flagtype _vizflags) {
autocheat = true;
showstartmenu = false;
if(tour::on) {
tour::slide_backup(mapeditor::drawplayer);
tour::slide_backup(timerghost);
}
#if !ISWEB
mapeditor::drawplayer = false;
stop_game();