aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/charset-fontdata.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/agos/charset-fontdata.cpp')
-rw-r--r--engines/agos/charset-fontdata.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/engines/agos/charset-fontdata.cpp b/engines/agos/charset-fontdata.cpp
index 71095b84fe..d9918b265d 100644
--- a/engines/agos/charset-fontdata.cpp
+++ b/engines/agos/charset-fontdata.cpp
@@ -1582,20 +1582,12 @@ void AGOSEngine::windowDrawChar(WindowBlock *window, uint x, uint y, byte chr) {
h = 13;
w = feebleFontSize[chr - 32];
- // Ignore invalid characters
- if (chr - 32 > 195)
- return;
-
src = feeble_windowFont + (chr - 32) * 13;
} else if (getGameType() == GType_SIMON1 || getGameType() == GType_SIMON2) {
dst = (byte *)screen->pixels + y * _dxSurfacePitch + x + window->textColumnOffset;
h = 8;
w = 6;
- // Ignore invalid characters
- if (chr - 32 > 98)
- return;
-
switch (_language) {
case Common::CZ_CZE:
src = czech_simonFont + (chr - 32) * 8;
@@ -1632,10 +1624,6 @@ void AGOSEngine::windowDrawChar(WindowBlock *window, uint x, uint y, byte chr) {
h = 8;
w = 6;
- // Ignore invalid characters
- if (chr - 32 > 98)
- return;
-
// TODO: Add font tables for German
switch (_language) {
case Common::ES_ESP: