From 5c1ea5ef0d61dc58e254f36f47882110ce9f22f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tam=C3=A1s=20B=C3=A1lint=20Misius?= Date: Wed, 27 Nov 2019 21:00:36 +0100 Subject: [PATCH] Blacklist SPRK in PCLN's and PBCN's ctypeDraw function Apparently it used to be blacklisted before ctype-drawing got redone. --- src/simulation/elements/PCLN.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/simulation/elements/PCLN.cpp b/src/simulation/elements/PCLN.cpp index 154f0a0c8..8f568cd0c 100644 --- a/src/simulation/elements/PCLN.cpp +++ b/src/simulation/elements/PCLN.cpp @@ -150,7 +150,7 @@ int Element_PCLN::graphics(GRAPHICS_FUNC_ARGS) //#TPT-Directive ElementHeader Element_PCLN static bool ctypeDraw(CTYPEDRAW_FUNC_ARGS) bool Element_PCLN::ctypeDraw(CTYPEDRAW_FUNC_ARGS) { - if (t == PT_PSCN || t == PT_NSCN) + if (t == PT_PSCN || t == PT_NSCN || t == PT_SPRK) { return false; }