fix weight of containers in special levels
allow knife and stiletto as possible tin opening tools
make the raven medusa level shortsighted
+fix possible segfault in lev_comp when map was too tall
Platform- and/or Interface-Specific Fixes
register char *s1, *s2;
int max_len = 0;
int max_hig = 0;
- char *tmpmap[ROWNO];
+ char *tmpmap[MAP_Y_LIM+1];
int dx, dy;
char *mbuf;
/* Then parse it now */
while (map && *map) {
+ if (max_hig > MAP_Y_LIM)
+ break;
tmpmap[max_hig] = (char *) alloc(max_len);
s1 = index(map, '\n');
if (s1) {