summaryrefslogtreecommitdiffstats
path: root/TemplePushing.c4s/Misc.c4d/FestiveClonks.c4d
diff options
context:
space:
mode:
authorMittendrein Markus <maxmitti@gmx.net>2016-03-04 21:27:02 +0100
committerMittendrein Markus <maxmitti@gmx.net>2016-03-04 21:27:12 +0100
commit1642ec65eaf83b8c1a6b1ea44d65331475fd3bf2 (patch)
treeb46e2f61f6a223e8c2c54536da324f502a99b948 /TemplePushing.c4s/Misc.c4d/FestiveClonks.c4d
parent2fa1ef2fe4dcd5c47d1ccca68d1dba79399ea2c6 (diff)
downloadtempelschubsen-1642ec65eaf83b8c1a6b1ea44d65331475fd3bf2.tar.gz
tempelschubsen-1642ec65eaf83b8c1a6b1ea44d65331475fd3bf2.zip
Move some mode-specific stuff into the modes' scripts
Diffstat (limited to 'TemplePushing.c4s/Misc.c4d/FestiveClonks.c4d')
-rw-r--r--TemplePushing.c4s/Misc.c4d/FestiveClonks.c4d/Script.c2
1 files changed, 1 insertions, 1 deletions
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 (...));