aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/talk.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cge/talk.cpp')
-rw-r--r--engines/cge/talk.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/cge/talk.cpp b/engines/cge/talk.cpp
index 851b96cf99..9fd32ab7d2 100644
--- a/engines/cge/talk.cpp
+++ b/engines/cge/talk.cpp
@@ -245,7 +245,8 @@ BITMAP * TALK::Box (uint16 w, uint16 h)
if (w < 8) w = 8;
if (h < 8) h = 8;
b = farnew(uint8, n = w * h);
- if (! b) VGA::Exit("No core");
+ if (! b)
+ error("No core");
memset(b, TEXT_BG, n);
if (Mode)