Correct log message for strange room flags (#88)
Thanks to Cunning on the tba board for the bug report https://www.tbamud.com/forum/4-development/4548-db-c-typo-in-parse-rooms#8633
This commit is contained in:
2
src/db.c
2
src/db.c
@@ -1326,7 +1326,7 @@ void parse_room(FILE *fl, int virtual_nr)
|
|||||||
world[room_nr].room_flags[2] = asciiflag_conv(flags3);
|
world[room_nr].room_flags[2] = asciiflag_conv(flags3);
|
||||||
world[room_nr].room_flags[3] = asciiflag_conv(flags4);
|
world[room_nr].room_flags[3] = asciiflag_conv(flags4);
|
||||||
|
|
||||||
sprintf(flags, "object #%d", virtual_nr); /* sprintf: OK (until 399-bit integers) */
|
sprintf(flags, "room #%d", virtual_nr); /* sprintf: OK (until 399-bit integers) */
|
||||||
for(taeller=0; taeller < AF_ARRAY_MAX; taeller++)
|
for(taeller=0; taeller < AF_ARRAY_MAX; taeller++)
|
||||||
check_bitvector_names(world[room_nr].room_flags[taeller], room_bits_count, flags, "room");
|
check_bitvector_names(world[room_nr].room_flags[taeller], room_bits_count, flags, "room");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user