Posted: Sat Aug 31, 2019 8:22 pm Post subject: Comparing Doubles
I am comparing two doubles for an injection copy using the player's X coordinate and a targeted X coordinate. I've had no luck in comparing them properly.
I've tried:
#1
cmp [rdx-60],(double)42.5 // always true even when [rdx-60] isn't 42.5
je copy
#2
cmp qword [rdx-60],(double)42.5 // always false
je copy
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum