Skip to content

Commit

Permalink
Don't load game-crashing unimplemented monster
Browse files Browse the repository at this point in the history
  • Loading branch information
kieranmillar committed Nov 18, 2017
1 parent e11acfa commit c15cbbd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/style.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,11 @@ bool Style::load_objects( int type, const string &obj_filename, const string &fr

if (!obj_f)
break;

if (o.id == 10008 || o.id == 10009) //Don't load game-crashing unimplemented monster
{
continue;
}

for (int j = 0; j < frames; ++j)
{
Expand Down

0 comments on commit c15cbbd

Please sign in to comment.