summaryrefslogtreecommitdiff
path: root/newgrf.c
diff options
context:
space:
mode:
Diffstat (limited to 'newgrf.c')
-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;
}