Fixed typo in TF2 ext asm.c causing accidental assignment instead of compare.
Fixed typo in TF2 ext asm.c causing accidental assignment instead of compare.
1.1 --- a/extensions/tf2/asm/asm.c Wed Dec 26 12:19:15 2012 -0500
1.2 +++ b/extensions/tf2/asm/asm.c Wed Dec 26 12:19:15 2012 -0500
1.3 @@ -370,7 +370,7 @@
1.4 else if (addr[0] == OP_JMP_BYTE) {
1.5 addr = &addr[OP_JMP_BYTE_SIZE] + *(char*)&addr[1];
1.6 //mangled 32bit jump?
1.7 - if (addr[0] = OP_JMP) {
1.8 + if (addr[0] == OP_JMP) {
1.9 addr = addr + *(int*)&addr[1];
1.10 }
1.11 return addr;