From: Mark Wooding Date: Mon, 7 Sep 2015 14:20:11 +0000 (+0100) Subject: test/chimaera.sod: Reorder Serpent tickling decision. X-Git-Url: https://git.distorted.org.uk/~mdw/sod/commitdiff_plain/7d5b141f4bd60a23f2c47776cfe467a414f8b472 test/chimaera.sod: Reorder Serpent tickling decision. It makes more sense to me to have the actions in the order they'll be experienced. --- diff --git a/test/chimaera.sod b/test/chimaera.sod index 5b55e93..e9b9077 100644 --- a/test/chimaera.sod +++ b/test/chimaera.sod @@ -37,8 +37,8 @@ class Serpent : Animal { void hiss() { puts("Sssss!"); } void bite() { puts("Nom!"); } void nml.tickle() { - if (SERPENT__CONV_NML(me)->nml.tickles > 2) Serpent_bite(me); - else Serpent_hiss(me); + if (SERPENT__CONV_NML(me)->nml.tickles <= 2) Serpent_hiss(me); + else Serpent_bite(me); } }