[CF-Devel] Pets crash (and bugfix)

crossfire-devel at archives.real-time.com crossfire-devel at archives.real-time.com
Sun Apr 4 21:37:12 CDT 2004


Re: the bug report just filed in SF,

A 'fix' applied to pets.c within the last 48 hours broke the pets' map
transition entirely. Case in point:

insert_ob_in_map(ob, tmp->map, NULL,0);

However, the tmp pointer is NULL at the termination of the loop above.

Thus, it should read:

insert_ob_in_map(ob, ob->map, NULL,0);

As ob->map is changed as needed in the above code.
Patch attached.

-archaios
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pets.c.diff
Type: application/octet-stream
Size: 301 bytes
Desc: not available
Url : 
     
     http://shadowknight.real-time.com/pipermail/crossfire/attachments/20040405/d65aa699/pets.c.obj
     
     
-------------- next part --------------
_______________________________________________
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