aboutsummaryrefslogtreecommitdiff
path: root/engines/agos
diff options
context:
space:
mode:
authorTravis Howell2009-03-09 02:07:06 +0000
committerTravis Howell2009-03-09 02:07:06 +0000
commitb2d49eaeef32b34353c787884f23892411e169f9 (patch)
tree7f11baa847e6722416acc9967b5a399e2ec7e91b /engines/agos
parent76ab92f8ec6735c81dc80bb1ea836599f38abe2c (diff)
downloadscummvm-rg350-b2d49eaeef32b34353c787884f23892411e169f9.tar.gz
scummvm-rg350-b2d49eaeef32b34353c787884f23892411e169f9.tar.bz2
scummvm-rg350-b2d49eaeef32b34353c787884f23892411e169f9.zip
Add comment to getlong().
svn-id: r39252
Diffstat (limited to 'engines/agos')
-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);