From 7bc733dc10f3d01985021b7b5d6ae140dd5af6f1 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Tue, 29 Jan 2008 21:39:41 +0000 Subject: large update. cleaned up some code. added new effects for almost everything --- src/game/editor/ed_editor.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/game/editor/ed_editor.hpp') diff --git a/src/game/editor/ed_editor.hpp b/src/game/editor/ed_editor.hpp index df3a1fc1..80ca42d5 100644 --- a/src/game/editor/ed_editor.hpp +++ b/src/game/editor/ed_editor.hpp @@ -221,6 +221,11 @@ public: format = 0; } + ~IMAGE() + { + gfx_unload_texture(tex_id); + } + int tex_id; int external; char name[128]; -- cgit 1.4.1