aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
Diffstat (limited to 'gui')
-rw-r--r--gui/newgui.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/newgui.cpp b/gui/newgui.cpp
index fbc5f7e277..b9b0b9b05e 100644
--- a/gui/newgui.cpp
+++ b/gui/newgui.cpp
@@ -627,11 +627,15 @@ void NewGui::animateCursor() {
#include "scumm_globals.h"
_GINIT(NewGui)
+#ifndef NEW_FONT_CODE
_GSETPTR(GUI::guifont, GBVARS_GUIFONT_INDEX, byte, GBVARS_SCUMM)
+#endif
_GEND
_GRELEASE(NewGui)
+#ifndef NEW_FONT_CODE
_GRELEASEPTR(GBVARS_GUIFONT_INDEX, GBVARS_SCUMM)
+#endif
_GEND
#endif