aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/objects.h
diff options
context:
space:
mode:
authorNicola Mettifogo2008-12-26 05:44:32 +0000
committerNicola Mettifogo2008-12-26 05:44:32 +0000
commitb3b23642bfc1da1deb8362b9dfb8c8f01b430c5b (patch)
treea35e050b693a4cccfde29855f5d76c8100a63df7 /engines/parallaction/objects.h
parent751df013e1fb8e521028f2babb1ff47067723c04 (diff)
downloadscummvm-rg350-b3b23642bfc1da1deb8362b9dfb8c8f01b430c5b.tar.gz
scummvm-rg350-b3b23642bfc1da1deb8362b9dfb8c8f01b430c5b.tar.bz2
scummvm-rg350-b3b23642bfc1da1deb8362b9dfb8c8f01b430c5b.zip
Fixed selection of invalid frame numbers. This means that most locations can be switched to and don't crash up anymore!
svn-id: r35550
Diffstat (limited to 'engines/parallaction/objects.h')
-rw-r--r--engines/parallaction/objects.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/parallaction/objects.h b/engines/parallaction/objects.h
index 2611f0ed94..4e586d4d2b 100644
--- a/engines/parallaction/objects.h
+++ b/engines/parallaction/objects.h
@@ -504,8 +504,6 @@ public:
uint16 getFrameNum() const;
byte* getFrameData() const;
- void validateScriptVars();
-
void resetZ();
bool hitFrameRect(int x, int y) const;
void getFrameRect(Common::Rect &r) const;
@@ -522,7 +520,7 @@ public:
void setZ(int16 value) { _z = value; }
int16 getF() { return _frame; }
- void setF(int16 value) { _frame = value; }
+ void setF(int16 value);
};
class Table {