Changeset 118
- Timestamp:
- 05/06/07 19:32:40 (2 years ago)
- Files:
-
- trunk/src/dungeon.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/dungeon.c
r117 r118 1327 1327 1328 1328 /* List indexed by char */ 1329 do_cmd_type *converted_list[UCHAR_MAX ];1329 do_cmd_type *converted_list[UCHAR_MAX+1]; 1330 1330 1331 1331 … … 1352 1352 if (first) 1353 1353 { 1354 first = 0; 1354 1355 size_t i; 1355 1356 … … 1358 1359 { 1359 1360 unsigned char key = commands[i].key; 1361 assert(key < N_ELEMENTS(converted_list)); 1360 1362 converted_list[key] = commands[i].hook; 1361 1363 }
