From 9061d527df8c3949c946ba1c03631e4b20d747fe Mon Sep 17 00:00:00 2001 From: Benau Date: Fri, 9 Nov 2018 09:51:05 +0800 Subject: [PATCH] Fix #3543 --- src/graphics/camera_end.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/graphics/camera_end.cpp b/src/graphics/camera_end.cpp index aad0d4ba9..0b44b327b 100644 --- a/src/graphics/camera_end.cpp +++ b/src/graphics/camera_end.cpp @@ -20,6 +20,7 @@ #include "karts/abstract_kart.hpp" #include "karts/kart_properties.hpp" +#include "race/race_manager.hpp" #include "tracks/drive_graph.hpp" #include "ICameraSceneNode.h" @@ -57,6 +58,8 @@ void CameraEnd::clearEndCameras() void CameraEnd::readEndCamera(const XMLNode &root) { m_end_cameras.clear(); + if (race_manager->getMinorMode() == RaceManager::MINOR_MODE_EASTER_EGG) + return; for(unsigned int i=0; i