Fixed typo in TF2 ext asm.c causing accidental assignment instead of compare.
authorNicholas Hastings <skamonkey@gmail.com>
Wed Dec 26 12:19:15 2012 -0500 (2012-12-26)
changeset 3727ce26029551e7
parent 3726 c80f3854253a
child 3728 951598961ea8
Fixed typo in TF2 ext asm.c causing accidental assignment instead of compare.
extensions/tf2/asm/asm.c
     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;