~widelands-dev/widelands/add-xdg-support

« back to all changes in this revision

Viewing changes to src/logic/editor_game_base.cc

Merged trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
#include "map_io/map_saver.h"
54
54
#include "scripting/logic.h"
55
55
#include "scripting/lua_table.h"
 
56
#include "sound/sound_handler.h"
56
57
#include "ui_basic/progresswindow.h"
57
58
#include "wui/interactive_base.h"
58
59
#include "wui/interactive_gamebase.h"
78
79
 
79
80
EditorGameBase::~EditorGameBase() {
80
81
        delete_tempfile();
 
82
        if (g_sh != nullptr) {
 
83
                g_sh->remove_fx_set(SoundType::kAmbient);
 
84
        }
81
85
}
82
86
 
83
87
/**