mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-24 03:56:43 +00:00
(svn r13004) -Codechange: replace AllocateWindow and AllocateWindowDesc with a Window constructor.
This commit is contained in:
+1
-1
@@ -229,5 +229,5 @@ static const WindowDesc _cheats_desc = {
|
||||
void ShowCheatWindow()
|
||||
{
|
||||
DeleteWindowById(WC_CHEATS, 0);
|
||||
AllocateWindowDesc(&_cheats_desc);
|
||||
new Window(&_cheats_desc);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user