fix bug checking crosschecks with more than 32 tiles.

This commit is contained in:
ehouse 2006-09-02 05:29:13 +00:00
parent fbe6da0ecd
commit 4cfe07923d

View file

@ -946,7 +946,7 @@ extendRight( EngineCtxt* engine, Tile* tiles, XP_U16 tileLength,
check = engine->rowChecks[col].bits[1];
advanced = XP_TRUE;
}
contains = (check & (1L << (tile>>5))) != 0;
contains = (check & (1L << (tile-32))) != 0;
} else {
contains = (check & (1L << tile)) != 0;
}