[CF-Devel] Dragon ability bug/crash, hopefully fixed
crossfire-devel-admin at archives.real-time.com
crossfire-devel-admin at archives.real-time.com
Fri Oct 17 12:25:31 CDT 2003
Hi.
Noticed today Mark commited fixes for dragon's ability-related crash in player.c.
Unfortunately some small bug was missed, so I (just) fixed it.
Line 3079:
new_draw_info_format(NDI_UNIQUE|NDI_BLUE, 0, who, "You gained the ability of
%s", item->inv->name);
^^^^^^^^^^^^^^^
should obviously read
new_draw_info_format(NDI_UNIQUE|NDI_BLUE, 0, who, "You gained the ability of
%s", item->name);
^^^^^^^^^^
since item->inv is NULL...
Tested before committing, seems to work (tried the 4 paths, till all abilities
gained)
Nicolas 'Ryo'
_______________________________________________
crossfire-devel mailing list
crossfire-devel at lists.real-time.com
https://mailman.real-time.com/mailman/listinfo/crossfire-devel
More information about the crossfire
mailing list