diff options
Diffstat (limited to 'src/gui/viewport.cpp')
-rw-r--r-- | src/gui/viewport.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp index f521fde8c..34c10f891 100644 --- a/src/gui/viewport.cpp +++ b/src/gui/viewport.cpp @@ -302,7 +302,7 @@ void Viewport::_followMouse() void Viewport::_drawDebugPath(Graphics *const graphics) { - if (!player_node || !userPalette || !actorSpriteManager) + if (!player_node || !userPalette || !actorSpriteManager || !mMap) return; // Get the current mouse position |