Skip to content

Commit

Permalink
Fix AV when opening debug window in a loaded skirmish game.
Browse files Browse the repository at this point in the history
  • Loading branch information
inodlite authored and past-due committed Jul 3, 2019
1 parent 794139f commit f340d89
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/qtscriptdebug.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit f340d89

Please sign in to comment.