Fix hang on startup on negative definition priority

console-destruction
Sven Eberhardt 2016-08-27 18:37:56 -04:00
parent b339db9ea7
commit 64f7a97eb6
1 changed files with 1 additions and 0 deletions

View File

@ -477,6 +477,7 @@ void C4DefList::SortByPriority()
FirstDef = def;
prev_def = def;
}
if (prev_def) prev_def->Next = nullptr;
}
void C4DefList::CallEveryDefinition()