summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpasky <pasky@openttd.org>2005-03-30 12:30:24 +0000
committerpasky <pasky@openttd.org>2005-03-30 12:30:24 +0000
commit16a64d70006b1dc2110af76fa6967eb0bfff0bd7 (patch)
tree71974b8a56e650bca4edc3cd16704079fb28f07b
parent7ff930af04edd97355f8225179fa8e97db111000 (diff)
downloadopenttd-16a64d70006b1dc2110af76fa6967eb0bfff0bd7.tar.xz
(svn r2111) So, result is bool therefore no need for this horrible == 0 thing.
-rw-r--r--newgrf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newgrf.c b/newgrf.c
index bf6df8517..ccfd33836 100644
--- a/newgrf.c
+++ b/newgrf.c
@@ -1691,7 +1691,7 @@ static void SkipIf(byte *buf, int len)
return;
}
- if (result == 0) {
+ if (!result) {
grfmsg(GMS_NOTICE, "Not skipping sprites, test was false.");
return;
}