mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2024-11-27 14:08:39 +01:00
Fix lobby search bug when games sets an unsigned value but then searches for a signed value.
This commit is contained in:
parent
3c02f88b5d
commit
4e3331ddad
1 changed files with 2 additions and 1 deletions
|
@ -1170,7 +1170,8 @@ void RunCallbacks()
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
try {
|
try {
|
||||||
int compare_to = std::stoi(value->second, 0, 0);
|
PRINT_DEBUG("%s\n", value->second.c_str());
|
||||||
|
int compare_to = std::stoll(value->second, 0, 0);
|
||||||
PRINT_DEBUG("Compare Values %i %i\n", compare_to, f.value_int);
|
PRINT_DEBUG("Compare Values %i %i\n", compare_to, f.value_int);
|
||||||
if (f.eComparisonType == k_ELobbyComparisonEqual) {
|
if (f.eComparisonType == k_ELobbyComparisonEqual) {
|
||||||
if (compare_to == f.value_int) {
|
if (compare_to == f.value_int) {
|
||||||
|
|
Loading…
Reference in a new issue