From 54fa76ecf8d68d0f9b9e049e8544c67096bb8a1a Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 6 May 2022 19:14:03 +0200 Subject: [PATCH] nilrider:: smooth scrolling enabled --- rogueviz/nilrider/nilrider.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rogueviz/nilrider/nilrider.cpp b/rogueviz/nilrider/nilrider.cpp index dd498277..1380e367 100644 --- a/rogueviz/nilrider/nilrider.cpp +++ b/rogueviz/nilrider/nilrider.cpp @@ -163,7 +163,7 @@ void toggle_replay() { } void run() { - cmode = sm::MAP; + cmode = sm::PANNING; clearMessages(); dialog::init(); if(view_replay && !paused) { @@ -518,6 +518,7 @@ void initialize_all() { enable_canvas(); patterns::canvasback = 0; vid.cells_drawn_limit = 1; + smooth_scrolling = true; mapeditor::drawplayer = false; backcolor = 0xC0C0FFFF; logfog = 1;