From 7b0f113892d7202c17bb873ade72e5e74dbaffa4 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Thu, 10 Apr 2014 00:18:10 +0300 Subject: [PATCH] Put emergency highlights on a higher layer --- source/engineer/engineer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/engineer/engineer.cpp b/source/engineer/engineer.cpp index aa82dcb..07ab83b 100644 --- a/source/engineer/engineer.cpp +++ b/source/engineer/engineer.cpp @@ -318,6 +318,7 @@ void Engineer::emergency(Block *block, const string &msg) set_status(msg); TrackChain3D *tch3d = new TrackChain3D(layout_3d, *block); tch3d->set_color(GL::Color(1.0f, 0.0f, 0.0f)); + tch3d->set_layer(2); emergencies.push_back(tch3d); } -- 2.45.2