aboutsummaryrefslogtreecommitdiff
path: root/scumm/string.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/string.cpp')
-rw-r--r--scumm/string.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/scumm/string.cpp b/scumm/string.cpp
index a6bc724189..16275d3b35 100644
--- a/scumm/string.cpp
+++ b/scumm/string.cpp
@@ -608,23 +608,6 @@ void ScummEngine::initCharset(int charsetno) {
}
void ScummEngine::enqueueText(const byte *text, int x, int y, byte color, byte charset, bool center) {
- // The Dig will keep enqueueing texts long after they've scrolled off
- // the screen, eventually overflowing the blast text queue if left
- // unchecked.
-
- if (y < 0) {
- byte old_charset;
- int font_height;
-
- old_charset = _charset->getCurID();
- _charset->setCurID(charset);
- font_height = _charset->getFontHeight();
- _charset->setCurID(old_charset);
-
- if (y <= -font_height)
- return;
- }
-
BlastText &bt = _blastTextQueue[_blastTextQueuePos++];
assert(_blastTextQueuePos <= ARRAYSIZE(_blastTextQueue));