From 1642ec65eaf83b8c1a6b1ea44d65331475fd3bf2 Mon Sep 17 00:00:00 2001 From: Mittendrein Markus Date: Fri, 4 Mar 2016 21:27:02 +0100 Subject: Move some mode-specific stuff into the modes' scripts --- TemplePushing.c4s/Misc.c4d/FestiveClonks.c4d/Script.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'TemplePushing.c4s/Misc.c4d/FestiveClonks.c4d') diff --git a/TemplePushing.c4s/Misc.c4d/FestiveClonks.c4d/Script.c b/TemplePushing.c4s/Misc.c4d/FestiveClonks.c4d/Script.c index 656a32b..845a57d 100644 --- a/TemplePushing.c4s/Misc.c4d/FestiveClonks.c4d/Script.c +++ b/TemplePushing.c4s/Misc.c4d/FestiveClonks.c4d/Script.c @@ -4,7 +4,7 @@ #appendto CLNK func Construction () { - if (mode == MODE_Festive) + if (mode && mode->GetID() == MODE_Festive) { if(GetID() == CLNK) SetGraphics(0, this, FSVC); return (_inherited (...)); -- cgit v1.2.3-54-g00ecf