Overview
Comment: | Correct some mistakes in pattern matching |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
d402558420590e0e8bccb7985ab5ba09 |
User & Date: | user on 2021-04-18 09:45:48 |
Other Links: | manifest | tags |
Context
2021-04-18
| ||
22:20 | Correct a mistake in importing level titles check-in: ce10815b30 user: user tags: trunk | |
09:45 | Correct some mistakes in pattern matching check-in: d402558420 user: user tags: trunk | |
09:25 | Remove an incorrect "Lump size of dependent picture is too short" message check-in: 9ee1615bef user: user tags: trunk | |
Changes
Modified exec.c from [a3197ac138] to [101251ce79].
︙ | |||
1510 1511 1512 1513 1514 1515 1516 | 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 | - + | if(a==VOIDLINK || b==VOIDLINK) return 0; if((objects[a]->oflags|objects[b]->oflags)&OF_DESTROYED) return 0; if((objects[a]->oflags^objects[b]->oflags)&OF_BIZARRO) return 0; return (objects[a]->x==objects[b]->x && objects[a]->y==objects[b]->y); } static Uint32 pat_find_at(int xy,Uint32 m4,Uint32 m5,Uint32 m6,Uint32 m7,Uint8 cl) { |
︙ | |||
1563 1564 1565 1566 1567 1568 1569 | 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 | - + - - - - - - + + + + + + + + + + + | x+=x_delta[(code[ptr-1]+objects[obj]->dir)&7]; y+=y_delta[(code[ptr-1]+objects[obj]->dir)&7]; if(x<1 || x>pfwidth || y<1 || y>pfheight) goto fail; break; case 0x0200 ... 0x02FF: g=code[ptr-1]&255; goto message; |
︙ |