Mercurial > hg > openttd
changeset 8967:6c1873de596f draft
(svn r12759) -Fix(r12358): There is no need to mask callback result for pre-version7 since CBID_INDTILE_SHAPE_CHECK (cb2F) is really 15 bits.
author | belugas <belugas@openttd.org> |
---|---|
date | Fri, 18 Apr 2008 03:17:22 +0000 |
parents | b185cd12d66a |
children | cd248dc7d93f |
files | src/newgrf_industrytiles.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/newgrf_industrytiles.cpp +++ b/src/newgrf_industrytiles.cpp @@ -279,7 +279,7 @@ return !IsSlopeRefused(GetTileSlope(ind_tile, NULL), its->slopes_refused); } if (its->grf_prop.grffile->grf_version < 7) { - return (callback_res & 0xFF) != 0; // mask to 8 bit callback result + return callback_res != 0; } /* Copy some parameters from the registers to the error message text ref. stack */