Use symbolic name STONE for levl typ 0
This commit is contained in:
@@ -814,7 +814,7 @@ nextpos:
|
||||
else
|
||||
ny += dy;
|
||||
|
||||
while ((typ = (crm = &levl[nx][ny])->typ) != 0) {
|
||||
while ((typ = (crm = &levl[nx][ny])->typ) != STONE) {
|
||||
/* in view of the above we must have IS_WALL(typ) or typ == POOL */
|
||||
/* must be a wall here */
|
||||
if (isok(nx + nx - x, ny + ny - y) && !IS_POOL(typ)
|
||||
|
||||
Reference in New Issue
Block a user