Hi!

I think we need to have a look at lib/script/interp.c : interpRunScript() very 
quickly.

There is this UDWORD * ip which I don't fully understand.
It doesn't seem to be used like a pointer for a while and then it gets 
dereferenced. It also gets compared with UDWORD * pCodeEnd.

Looks very weird to me. Can someone figure out what it does?

And when doing that please remember that the dereferencing in:
if(!RetStackRemember(CurEvent, *(ip + 2)))      //Remember where to jump back 
later
was done by Christian Ohm and _not_ in the original code...

Would be nice if someone could explain it's purpose to me,
Dennis

Attachment: pgphHq4J2Ge51.pgp
Description: PGP signature

_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev

Reply via email to