I am using a snippet from Zanthras of Mystical Realities MUD for their object
copy code. I am having one problem with it. When I copy the object the extra
descriptions are both pointing the same address in memeory so it's obivously
causing problems. So yeah, I'm really bad with pointers lol, and I know this is
an easy way to fix it.

Here is the line in question:
copyOfpObj->extra_descr = pObj->extra_descr;

Thanks




Reply via email to