diff options
| author | Mittendrein Markus <maxmitti@gmx.net> | 2016-03-03 15:08:06 +0100 |
|---|---|---|
| committer | Mittendrein Markus <maxmitti@gmx.net> | 2016-03-03 15:08:06 +0100 |
| commit | cf2d6bfb5cd3943349bd2d772330082f1e61ba00 (patch) | |
| tree | 5dcc240c7b9c2b7bece7384d55a2eae9775276f7 /TemplePushing.c4s/Misc.c4d | |
| parent | e1b30572d41977d9c57982873103437de367311e (diff) | |
| download | tempelschubsen-cf2d6bfb5cd3943349bd2d772330082f1e61ba00.tar.gz tempelschubsen-cf2d6bfb5cd3943349bd2d772330082f1e61ba00.zip | |
Remove DebugLogs and useless if in Crystal spikes
Diffstat (limited to 'TemplePushing.c4s/Misc.c4d')
| -rw-r--r-- | TemplePushing.c4s/Misc.c4d/AdditionalSpells.c4d/CrystalSpikes.c4d/Kristall.c4d/Script.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/TemplePushing.c4s/Misc.c4d/AdditionalSpells.c4d/CrystalSpikes.c4d/Kristall.c4d/Script.c b/TemplePushing.c4s/Misc.c4d/AdditionalSpells.c4d/CrystalSpikes.c4d/Kristall.c4d/Script.c index 09d958b..ab38ea3 100644 --- a/TemplePushing.c4s/Misc.c4d/AdditionalSpells.c4d/CrystalSpikes.c4d/Kristall.c4d/Script.c +++ b/TemplePushing.c4s/Misc.c4d/AdditionalSpells.c4d/CrystalSpikes.c4d/Kristall.c4d/Script.c @@ -62,7 +62,6 @@ global func CreateBigCrystal(int iX, int iY, int iCon, int iMTime, int iOwner) func HitObject(object pClonk) { - DebugLog("HitObject(%v)", pClonk); Sound("Crystal2", 0, pClonk); DoEnergy(-20, pClonk); Fling(pClonk, RandomX(-4, 4), RandomX(-5, -9)); @@ -71,12 +70,8 @@ func HitObject(object pClonk) func HitDing(object pDing) { - DebugLog("HitDing(%v)", pDing); - if (pDing) - { - SetSpeed(RandomX(-4, 4), RandomX(-20, -40), pDing); - pDing->~Hit(); - } + SetSpeed(RandomX(-4, 4), RandomX(-20, -40), pDing); + pDing->~Hit(); } func EffectObject(object pClonk) |
