mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-21 23:14:07 +01:00
[Jun 12 2008] - Rumble
Fixed toggle quest to toggle correctly. Fixed bug in dg find_replacement to call text_processed at the beginning, regardless of whethe r something matching the variable is found or not. (thanks Laoris) Fixed log error that was using rnum instead of vnum. (thanks Jamdog)
This commit is contained in:
parent
cfe59d3e04
commit
107c3b2811
4 changed files with 10 additions and 8 deletions
2
src/db.c
2
src/db.c
|
|
@ -1155,7 +1155,7 @@ void parse_room(FILE *fl, int virtual_nr)
|
|||
snprintf(buf2, sizeof(buf2), "room #%d", virtual_nr);
|
||||
|
||||
if (virtual_nr < zone_table[zone].bot) {
|
||||
log("SYSERR: Room #%d is below zone %d.", virtual_nr, zone);
|
||||
log("SYSERR: Room #%d is below zone %d (bot=%d, top=%d).", virtual_nr, zone_table[zone].number, zone_table[zone].bot, zone_table[zone].top);
|
||||
exit(1);
|
||||
}
|
||||
while (virtual_nr > zone_table[zone].top)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue