Fix crash on exiting game

This commit is contained in:
Kp 2014-08-16 18:32:24 +00:00
parent 9483cc7280
commit e9e02355cc

View file

@ -590,7 +590,7 @@ static void promote (mle *mission_list, const char * mission_name, int * top_pla
Mission::~Mission()
{
// May become more complex with the editor
if (path && !PLAYING_BUILTIN_MISSION)
if (path && builtin_hogsize == 0)
{
char hogpath[PATH_MAX];