diff options
author | Paul Gilbert | 2011-05-01 22:21:55 +1000 |
---|---|---|
committer | Paul Gilbert | 2011-05-01 22:30:47 +1000 |
commit | c76e1592f3cd28902e2f606ab0f84473636ed990 (patch) | |
tree | 2bfe33e72b8e1103caa306411a864dd94fd51db8 /engines | |
parent | 0ff44497c77fd37c20918d22b628348fd0f3b5fe (diff) | |
download | scummvm-rg350-c76e1592f3cd28902e2f606ab0f84473636ed990.tar.gz scummvm-rg350-c76e1592f3cd28902e2f606ab0f84473636ed990.tar.bz2 scummvm-rg350-c76e1592f3cd28902e2f606ab0f84473636ed990.zip |
TSAGE: Fix parameter order in NamedHotspot class methods
Diffstat (limited to 'engines')
-rw-r--r-- | engines/tsage/core.cpp | 2 | ||||
-rw-r--r-- | engines/tsage/core.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/tsage/core.cpp b/engines/tsage/core.cpp index c1f188750d..f03f10ffd2 100644 --- a/engines/tsage/core.cpp +++ b/engines/tsage/core.cpp @@ -1585,7 +1585,7 @@ void NamedHotspot::doAction(int action) { } } -void NamedHotspot::setup(const int ys, const int xe, const int ye, const int xs, const int resnum, const int lookLineNum, const int useLineNum) { +void NamedHotspot::setup(int ys, int xs, int ye, int xe, const int resnum, const int lookLineNum, const int useLineNum) { setBounds(ys, xe, ye, xs); _resnum = resnum; _lookLineNum = lookLineNum; diff --git a/engines/tsage/core.h b/engines/tsage/core.h index c836264dea..45a39b24bb 100644 --- a/engines/tsage/core.h +++ b/engines/tsage/core.h @@ -432,7 +432,7 @@ public: int _resnum, _lookLineNum, _useLineNum; NamedHotspot() : SceneHotspot() {} - void setup(const int ys, const int xe, const int ye, const int xs, const int resnum, const int lookLineNum, const int useLineNum); + void setup(int ys, int xs, int ye, int xe, const int resnum, const int lookLineNum, const int useLineNum); virtual void doAction(int action); virtual Common::String getClassName() { return "NamedHotspot"; } virtual void synchronise(Serialiser &s); |