Fixed typo in TF2 ext asm.c causing accidental assignment instead of compare.

This commit is contained in:
Nicholas Hastings 2012-12-26 12:19:15 -05:00
parent 7846ff1666
commit 02b8e3f7c0

View File

@ -370,7 +370,7 @@ void* eval_jump(void* src) {
else if (addr[0] == OP_JMP_BYTE) {
addr = &addr[OP_JMP_BYTE_SIZE] + *(char*)&addr[1];
//mangled 32bit jump?
if (addr[0] = OP_JMP) {
if (addr[0] == OP_JMP) {
addr = addr + *(int*)&addr[1];
}
return addr;