aboutsummaryrefslogtreecommitdiff
path: root/engines/teenagent/resources.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/teenagent/resources.cpp')
-rw-r--r--engines/teenagent/resources.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/teenagent/resources.cpp b/engines/teenagent/resources.cpp
index be0d1a70c2..6fc1f4b5dc 100644
--- a/engines/teenagent/resources.cpp
+++ b/engines/teenagent/resources.cpp
@@ -101,7 +101,7 @@ bool Resources::loadArchives(const ADGameDescription *gd) {
}
void Resources::loadOff(Graphics::Surface &surface, byte *palette, int id) {
- uint32 size = off.get_size(id);
+ uint32 size = off.getSize(id);
if (size == 0) {
error("invalid background %d", id);
return;