AndrewBGS
Member
|
How to get Object ParamsPtr
If I already have an object, how can I get its ParamsPtr such that I can create a duplicate of that object?
(something else than storing the parameters in a variable inside the object, that causes some ugly bugs in my case)
|
|
03-21-2014 05:24 PM |
|
Esenthel
Administrator
|
RE: How to get Object ParamsPtr
If you have Game.ObjParams obj;
then you can do Game.ObjParamsPtr obj_ptr=&obj;
|
|
03-31-2014 06:02 AM |
|
AndrewBGS
Member
|
RE: How to get Object ParamsPtr
I was just about to reply "that doesn't work in X case", but I thought, let's give it another shot before I report an issue. Aaaaand now it works. :|
Well, thanks
|
|
03-31-2014 06:15 AM |
|