Fix some Cheat Manager comparisons being wrong
This commit is contained in:
parent
8bb6cf2cc4
commit
04969f94b6
|
@ -397,11 +397,11 @@ static bool Compare(T mem_value, T value, CompareType op)
|
||||||
case CompareType::Less:
|
case CompareType::Less:
|
||||||
return mem_value < value;
|
return mem_value < value;
|
||||||
case CompareType::LessEqual:
|
case CompareType::LessEqual:
|
||||||
return mem_value <= mem_value;
|
return mem_value <= value;
|
||||||
case CompareType::More:
|
case CompareType::More:
|
||||||
return value > mem_value;
|
return mem_value > value;
|
||||||
case CompareType::MoreEqual:
|
case CompareType::MoreEqual:
|
||||||
return value >= mem_value;
|
return mem_value >= value;
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue