summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp
index 1a4e876d1..b5ebe97dd 100644
--- a/src/main_gui.cpp
+++ b/src/main_gui.cpp
@@ -308,7 +308,7 @@ struct MainWindow : Window
case GHK_REFRESH_SCREEN: MarkWholeScreenDirty(); break;
case GHK_CRASH: // Crash the game
- *(byte*)0 = 0;
+ *(volatile byte *)0 = 0;
break;
case GHK_MONEY: // Gimme money