From 16a64d70006b1dc2110af76fa6967eb0bfff0bd7 Mon Sep 17 00:00:00 2001 From: pasky Date: Wed, 30 Mar 2005 12:30:24 +0000 Subject: (svn r2111) So, result is bool therefore no need for this horrible == 0 thing. --- newgrf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'newgrf.c') 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; } -- cgit v1.2.3-54-g00ecf