summaryrefslogtreecommitdiff
path: root/src/cheat_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cheat_gui.cpp')
-rw-r--r--src/cheat_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cheat_gui.cpp b/src/cheat_gui.cpp
index 65fdb889d..198d6ecc3 100644
--- a/src/cheat_gui.cpp
+++ b/src/cheat_gui.cpp
@@ -229,5 +229,5 @@ static const WindowDesc _cheats_desc = {
void ShowCheatWindow()
{
DeleteWindowById(WC_CHEATS, 0);
- AllocateWindowDesc(&_cheats_desc);
+ new Window(&_cheats_desc);
}