From 79f9a2d62d0b4b52715ff63b120306614210f5e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tam=C3=A1s=20B=C3=A1lint=20Misius?= Date: Thu, 1 Aug 2019 16:45:34 +0200 Subject: [PATCH] Prioritise ctypeDraw functions over sparking This adds an exception from brush-based sparking behaviour for elements that have a ctypeDraw function. A functionally equivalent exception has been removed in de1fc0f, thus making it impossible to ctype-draw SPRK on a few elements that otherwise aren't sparkable, such as CONV. --- src/simulation/Simulation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/simulation/Simulation.cpp b/src/simulation/Simulation.cpp index 01b5a9dc6..f979c288c 100644 --- a/src/simulation/Simulation.cpp +++ b/src/simulation/Simulation.cpp @@ -3104,7 +3104,7 @@ int Simulation::create_part(int p, int x, int y, int t, int v) if (t>=0 && t