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
commit3e4553e55f45a1dc3b6ffab3d0d27830a54ce3e8 (patch)
tree71974b8a56e650bca4edc3cd16704079fb28f07b
parent6dc963e246b23f796339985157d6c967077277cf (diff)
downloadopenttd-3e4553e55f45a1dc3b6ffab3d0d27830a54ce3e8.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;
}