~mdw
/
sod
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test/chimaera.sod: Reorder Serpent tickling decision.
[sod]
/
test
/
chimaera.sod
diff --git
a/test/chimaera.sod
b/test/chimaera.sod
index
5b55e93
..
e9b9077
100644
(file)
--- 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() {
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);
}
}
}
}