Browse Source

Fix mpqapi_get_hash_index

pull/959/head
Anders Jenbo 5 years ago
parent
commit
0bf9b1bfe6
  1. 2
      Source/mpqapi.cpp

2
Source/mpqapi.cpp

@ -265,7 +265,7 @@ static int mpqapi_get_hash_index(int index, int hash_a, int hash_b, int locale)
continue;
if (sgpHashTbl[idx].lcid != locale)
continue;
if (sgpHashTbl[idx].block != -2)
if (sgpHashTbl[idx].block == -2)
continue;
return idx;

Loading…
Cancel
Save