aboutsummaryrefslogtreecommitdiff
path: root/scumm/gfx.cpp
diff options
context:
space:
mode:
authorMax Horn2003-05-21 14:00:19 +0000
committerMax Horn2003-05-21 14:00:19 +0000
commite21604663fa71426bef8fad528626a4ef17d131a (patch)
treed6e434e74b556ec677740b74292c84dba947f422 /scumm/gfx.cpp
parent1294eb35c773c195633474dc2fbb8812f4b949a6 (diff)
downloadscummvm-rg350-e21604663fa71426bef8fad528626a4ef17d131a.tar.gz
scummvm-rg350-e21604663fa71426bef8fad528626a4ef17d131a.tar.bz2
scummvm-rg350-e21604663fa71426bef8fad528626a4ef17d131a.zip
added v2 cutscene support (not quite complete; and crashes at some point in maniac because VAR_EGO contains a bogus value); cleanup
svn-id: r7781
Diffstat (limited to 'scumm/gfx.cpp')
-rw-r--r--scumm/gfx.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp
index 3d154a851d..ca8b4f20c2 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -2063,6 +2063,8 @@ void Scumm::setCameraAt(int pos_x, int pos_y) {
}
void Scumm::setCameraFollows(Actor *a) {
+ assert(a != NULL);
+
if (_features & GF_AFTER_V7) {
byte oldfollow = camera._follows;
int ax, ay;