Fix kills folder

Closes #76
This commit is contained in:
Alexander Batalov 2022-07-15 16:58:58 +03:00
parent 1e5cda5dde
commit 8ab7f8493a
1 changed files with 1 additions and 1 deletions

View File

@ -2193,7 +2193,7 @@ static int characterEditorDrawKillsFolder()
}
if (usedKills != 0) {
qsort(kills, usedKills, 12, characterEditorKillsCompare);
qsort(kills, usedKills, sizeof(*kills), characterEditorKillsCompare);
for (i = 0; i < usedKills; i++) {
KillInfo* killInfo = &(kills[i]);