From 7d5b141f4bd60a23f2c47776cfe467a414f8b472 Mon Sep 17 00:00:00 2001 Message-Id: <7d5b141f4bd60a23f2c47776cfe467a414f8b472.1716627018.git.mdw@distorted.org.uk> From: Mark Wooding Date: Mon, 7 Sep 2015 15:20:11 +0100 Subject: [PATCH] test/chimaera.sod: Reorder Serpent tickling decision. Organization: Straylight/Edgeware From: Mark Wooding It makes more sense to me to have the actions in the order they'll be experienced. --- test/chimaera.sod | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } } -- [mdw]