… | … | ||
---|---|---|---|
369 | self->rows = 0; | 369 | self->rows = 0; |
370 | } | 370 | } |
371 | 371 | ||
372 | #define CELL_CLEAR(cell) \ | 372 | #define CELL_CLEAR(cell) \ |
373 | do { \ | 373 | do { \ |
374 | if ((cell)->player) \ | ||
375 | (cell)->tile [2] = 0; \ | ||
374 | (cell)->darkness = 0; \ | 376 | (cell)->darkness = 0; \ |
375 | (cell)->stat_hp = 0; \ | 377 | (cell)->stat_hp = 0; \ |
376 | (cell)->flags = 0; \ | 378 | (cell)->flags = 0; \ |
377 | (cell)->player = 0; \ | 379 | (cell)->player = 0; \ |
378 | } while (0) | 380 | } while (0) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |