diff --git a/src/d_main.cpp b/src/d_main.cpp index 20db4fdb0..943130cdf 100644 --- a/src/d_main.cpp +++ b/src/d_main.cpp @@ -1319,7 +1319,7 @@ void D_DoAdvanceDemo (void) { Page->Unload (); } - Page = TexMan[pagename]; + Page = TexMan(pagename); } }