diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/powder.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/powder.c b/src/powder.c index dcdda77..af91808 100644 --- a/src/powder.c +++ b/src/powder.c @@ -79,6 +79,9 @@ int eval_move(int pt, int nx, int ny, unsigned *rr) if ((r&0xFF)==PT_VOID || (r&0xFF)==PT_BHOL) return 1; + if(pt==PT_SPRK)//spark shouldn't move + return 0; + if (pt==PT_PHOT&&( (r&0xFF)==PT_GLAS || (r&0xFF)==PT_PHOT || (r&0xFF)==PT_CLNE || (r&0xFF)==PT_PCLN || |
