aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/agos/script_pn.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/agos/script_pn.cpp b/engines/agos/script_pn.cpp
index 8bf7d83ad4..7d54c1f110 100644
--- a/engines/agos/script_pn.cpp
+++ b/engines/agos/script_pn.cpp
@@ -723,6 +723,7 @@ uint16 AGOSEngine_PN::getptr(uint32 pos) {
}
uint32 AGOSEngine_PN::getlong(uint32 pos) {
+ // Only actually reads 24bit though
if (pos > _dataBaseSize)
error("getlong: Read beyond EOF (%d)", pos);
return (uint32)READ_LE_UINT24(_dataBase + pos);