git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2473 c06c8d41-db1a-0410-9941-cceddc491573
K5V7BNN65MEQBOOOA5XRJO4WJ7RP6TDOTQ7DSTICECW4MM64QRAQC
RPOZZWKG5GLPHVZZ7ZKMKS64ZMV2LDCQSARBJFJ6FZOTOKCQO7FAC
SDLKLUNFGVKDS55DDJZCBAVIB7NL3RRYPTACAY65SCUQKV6APFSAC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
static char base_grid_type( char grid )
static dungeon_feature_type base_grid_type( dungeon_feature_type grid )
if (grid == DNGN_SECRET_DOOR)
if (grid_is_wall(grid))
const int targ_grid = base_grid_type( grd[ targ_x ][ targ_y ] );
const dungeon_feature_type targ_grid = base_grid_type( grd[ targ_x ][ targ_y ] );
const dungeon_feature_type targ_grid =
base_grid_type( grd[ targ_x ][ targ_y ] );
unsigned char grid; char dx; char dy;
unsigned char grid;
char dx;
char dy;
dungeon_feature_type grid; int dx; int dy;
dungeon_feature_type grid;
int dx;
int dy;