aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche
diff options
context:
space:
mode:
authoruruk2013-07-16 11:11:31 +0200
committeruruk2013-07-16 11:11:31 +0200
commit1c95316924a759ebae91ceaf4f0963c8a4a579cc (patch)
treeaa07b1c50b562d7938c39d88436017c752e9d8dc /engines/avalanche
parentfa1b5d3f3afb5d21fa4d8250e80699dc9fe00bfe (diff)
downloadscummvm-rg350-1c95316924a759ebae91ceaf4f0963c8a4a579cc.tar.gz
scummvm-rg350-1c95316924a759ebae91ceaf4f0963c8a4a579cc.tar.bz2
scummvm-rg350-1c95316924a759ebae91ceaf4f0963c8a4a579cc.zip
AVALANCHE: Implement getsettype::remember().
Diffstat (limited to 'engines/avalanche')
-rw-r--r--engines/avalanche/trip6.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/avalanche/trip6.cpp b/engines/avalanche/trip6.cpp
index 3bc6d4c734..786dfa40a4 100644
--- a/engines/avalanche/trip6.cpp
+++ b/engines/avalanche/trip6.cpp
@@ -370,7 +370,8 @@ getsettype *getsettype::init() {
void getsettype::remember(bytefield r) {
numleft++;
- warning("STUB: getsettype::remember()");
+ if (numleft > maxgetset)
+ error("Trip::remember() : runerr_Getset_Overflow");
gs[numleft] = r;
}