Cleanup: use nullptr instead of 0 or NULL
This commit is contained in:
@@ -309,7 +309,7 @@ struct MainWindow : Window
|
||||
case GHK_REFRESH_SCREEN: MarkWholeScreenDirty(); break;
|
||||
|
||||
case GHK_CRASH: // Crash the game
|
||||
*(volatile byte *)0 = 0;
|
||||
*(volatile byte *)nullptr = 0;
|
||||
break;
|
||||
|
||||
case GHK_MONEY: // Gimme money
|
||||
|
Reference in New Issue
Block a user