aboutsummaryrefslogtreecommitdiff
path: root/engines/teenagent/teenagent.cpp
diff options
context:
space:
mode:
authorChristoph Mallon2011-08-06 13:21:38 +0200
committerChristoph Mallon2011-08-07 15:19:08 +0200
commita5675c3dbe799acf6ced70ba9e83cdd88252bce9 (patch)
treefada35dbb2738e21bb4140c3588266cf024263a5 /engines/teenagent/teenagent.cpp
parent0e6751372a80716cadddd926eeb6965ae6c00a44 (diff)
downloadscummvm-rg350-a5675c3dbe799acf6ced70ba9e83cdd88252bce9.tar.gz
scummvm-rg350-a5675c3dbe799acf6ced70ba9e83cdd88252bce9.tar.bz2
scummvm-rg350-a5675c3dbe799acf6ced70ba9e83cdd88252bce9.zip
TEENAGENT: Pass streams as references.
Diffstat (limited to 'engines/teenagent/teenagent.cpp')
-rw-r--r--engines/teenagent/teenagent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/teenagent/teenagent.cpp b/engines/teenagent/teenagent.cpp
index 0289b994e6..e6a248334c 100644
--- a/engines/teenagent/teenagent.cpp
+++ b/engines/teenagent/teenagent.cpp
@@ -386,7 +386,7 @@ bool TeenAgentEngine::showLogo() {
}
Surface s;
- s.load(frame, Surface::kTypeOns);
+ s.load(*frame, Surface::kTypeOns);
if (s.empty()) {
free(bg);
return true;