mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
SAGA2: Fix ModalWindow instantiation. CID 1458038
This commit is contained in:
@@ -61,10 +61,12 @@ extern void updateWindowSection(const Rect16 &r);
|
||||
|
||||
ModalWindow *ModalWindow::current = NULL;
|
||||
|
||||
ModalWindow::ModalWindow(const Rect16 &r,
|
||||
uint16 ident,
|
||||
AppFunc *cmd)
|
||||
: DecoratedWindow(r, ident, "DialogWindow", cmd) {
|
||||
ModalWindow::ModalWindow(const Rect16 &r, uint16 ident, AppFunc *cmd)
|
||||
: DecoratedWindow(r, ident, "DialogWindow", cmd) {
|
||||
prevModeStackCtr = 0;
|
||||
|
||||
for (int i = 0; i < Max_Modes; i++)
|
||||
prevModeStackPtr[i] = 0;
|
||||
}
|
||||
|
||||
ModalWindow::~ModalWindow(void) {
|
||||
|
||||
Reference in New Issue
Block a user