author | ecalot
<ecalot> 2005-02-22 02:03:31 UTC |
committer | ecalot
<ecalot> 2005-02-22 02:03:31 UTC |
parent | 8c8037d51869b7a26504165de3478e85d7246229 |
FP/src/res/tiles.c | +1 | -1 |
diff --git a/FP/src/res/tiles.c b/FP/src/res/tiles.c index 954843a..b8420aa 100644 --- a/FP/src/res/tiles.c +++ b/FP/src/res/tiles.c @@ -55,7 +55,7 @@ int isIn(tTile tile,short group) { while ((*i)&&(((*i)&0x3f)!=tile.code)) i+=((*i)&0xC0)?2:1; if ((*i)&0x80) { /* compare against the back */ i++; - if ((*i)==(tile.back+1)) return 1; + if ((*i)==(tile.back)) return 1; docontinue=1; } else if ((*i)&0x40) { /* compare against the function */ i++;