[ioquake3] Possible Q3VM bug -- need Q3VM expert
ludwig.nussel at suse.de
Sat Nov 1 08:28:55 PDT 2008
Patrick Baggett wrote:
> It is harmless, but isn't a "correct" implementation. It just happens that
> other parts of the code do the same += 4 hack too so nothing goes wrong.
> Changing the += 4 to ++ gives bad VM instruction. I've successfully modified
> it to not have these holes and everything works correctly. The vm_x86.c
> doesn't call this function, so I imagine that it would be unaffected. I
> don't know if anyone is interested.
You are right. The interpreter indeed uses vm->instructionPointers
too. So those holes are not needed.
(o_ Ludwig Nussel
//\ SUSE LINUX Products GmbH, Development
More information about the ioquake3