From 04f2c6acbec07b539634a909ed6f27e864350877 Mon Sep 17 00:00:00 2001 From: Gauthier NOTTRET Date: Wed, 19 Sep 2018 22:18:52 +0200 Subject: [PATCH] FIX: image choice bug with dual version (electrified or not) priority signal --- obj/signal.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/obj/signal.cc b/obj/signal.cc index ff06e67..adf16d4 100644 --- a/obj/signal.cc +++ b/obj/signal.cc @@ -70,7 +70,7 @@ void signal_t::calc_image() uint16 offset=0; ribi_t::ribi dir = sch->get_ribi_unmasked() & (~calc_mask()); if(sch->is_electrified() && (desc->get_count()/8)>1) { - offset = desc->is_pre_signal() ? 12 : 8; + offset = desc->is_pre_signal() || desc->is_priority_signal() ? 12 : 8; } // vertical offset of the signal positions -- 2.7.4