mirror of
https://github.com/tbamud/tbamud.git
synced 2025-09-22 05:50:48 +02:00
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:
parent
1f520546b2
commit
c0fb6f8a71
1 changed files with 1 additions and 1 deletions
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[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++)
|
||||
check_bitvector_names(world[room_nr].room_flags[taeller], room_bits_count, flags, "room");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue