If I change the obj->pIndexData->affected to
obj->affected the command doesn't work at all.  I
can't add any affects.  (I can use the command, but no
affects are added).
-Matt Foltz

--- Chad Simmons <[EMAIL PROTECTED]> wrote:
> 
> --- Matt Foltz <[EMAIL PROTECTED]> wrote:
> The
> > problem I'm getting is that if the object doesn't
> load
> > with, say mana, on it then it won't combine the
> > values.  But if it DOES load with mana on it, then
> it
> > will.  Any suggestions would be appreciated.
> 
> [SNIP]
> 
> The difference between the data the object loads
> with
> and the data an object has, is one is an obj_data
> instance, and the other is an obj_index_data
> instance.
> 
> My guess is you are only doing stuff on the
> object_index_data.
> 
> >     for (paf = obj->pIndexData->affected; paf !=
> NULL; paf = paf->next) 
> 
> Yeah, here you are only going through the loop of
> things that the objects
> pIndexData has affecting it.. (the "standard"
> version of the object) You should
> be looping through obj->affected instead of
> obj->pIndexData->affected.
> 
> ~Kender
> 
> =====
> -----BEGIN GEEK CODE BLOCK-----
> Version 3.1
> GCS/L/C/O d-(+) s++:+ a-- C+++$>++++ UBLS++++$ 
> P+++(--)$ L++>+++ E--- W+>++$ N !o K? w(--) !O 
> M- !V PS+ PE(++) Y+ PGP->+ t- 5 X+() R(+) tv+@ 
> b++(+++) !DI+++ D G(-) e>+++$ h---() r+++ y+++
> ------END GEEK CODE BLOCK------
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Health - your guide to health and wellness
> http://health.yahoo.com
> 
> -- 
> ROM mailing list
> [email protected]
> http://www.rom.org/cgi-bin/mailman/listinfo/rom


__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

Reply via email to