Codechange: Rename window related DeleteXXX to match new behaviour
This commit is contained in:
@@ -20,11 +20,11 @@
|
||||
if (ScriptGame::IsMultiplayer()) return;
|
||||
|
||||
if (number == NUMBER_ALL) {
|
||||
DeleteWindowByClass((::WindowClass)window);
|
||||
CloseWindowByClass((::WindowClass)window);
|
||||
return;
|
||||
}
|
||||
|
||||
DeleteWindowById((::WindowClass)window, number);
|
||||
CloseWindowById((::WindowClass)window, number);
|
||||
}
|
||||
|
||||
/* static */ bool ScriptWindow::IsOpen(WindowClass window, uint32 number)
|
||||
|
Reference in New Issue
Block a user