Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix AV when opening debug window in a loaded skirmish game #422

Merged
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

Fix AV when opening debug window in a loaded skirmish game.

  • Loading branch information...
inodlite authored and past-due committed May 11, 2019
commit a1b9192cfb490f911d2410067da8e34f4d41130f
@@ -192,8 +192,9 @@ static void fillMainModel(QStandardItemModel &m)
{
const QStringList lev_type = { "LDS_COMPLETE", "LDS_CAMPAIGN", "LDS_CAMSTART", "LDS_CAMCHANGE",
"LDS_EXPAND", "LDS_BETWEEN", "LDS_MKEEP", "LDS_MCLEAR",
"LDS_EXPAND_LIMBO", "LDS_MKEEP_LIMBO", "LDS_NONE", "CAMPAIGN",
"SKIRMISH", "MULTI_SKIRMISH2", "MULTI_SKIRMISH3" };
"LDS_EXPAND_LIMBO", "LDS_MKEEP_LIMBO", "LDS_NONE",
"LDS_MULTI_TYPE_START", "CAMPAIGN", "", "SKIRMISH", "", "", "",
"MULTI_SKIRMISH2", "MULTI_SKIRMISH3" };
const QStringList difficulty_type = { "EASY", "NORMAL", "HARD", "INSANE", "TOUGH", "KILLER" };
int row = 0;
m.setRowCount(0);
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.