[CF-Devel] bug with style maps

crossfire-devel-admin at archives.real-time.com crossfire-devel-admin at archives.real-time.com
Fri May 30 10:38:50 CDT 2003


In the loader.l, there is the speed command where are
objects excluded with MAP_STYLE macro from
adjusting the object speed and putting it on the active list.

But when the command "arch" is read in, the object is loaded
from arch and the copied with copy_object(). But copy object
put the object too on the active list (and speed_left is manipulated).

So, all objects with speed in arches will come to active list when a
style map is loaded - and every random map use style maps...

I cloned copy_objec() and called it copy_object_data() - from it i removed
the speed stuff include the update_speed(). I used this command in
arch_parse
from arch.c and in the loader.l.


_______________________________________________
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