aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/view.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/agi/view.h')
-rw-r--r--engines/agi/view.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/agi/view.h b/engines/agi/view.h
index e4adfdc014..88094d6833 100644
--- a/engines/agi/view.h
+++ b/engines/agi/view.h
@@ -48,13 +48,15 @@ struct AgiView {
int16 loopCount;
AgiViewLoop *loop;
- AgiView() {
+ void reset() {
headerStepSize = 0;
headerCycleTime = 0;
description = nullptr;
loopCount = 0;
loop = nullptr;
}
+
+ AgiView() { reset(); }
};
enum MotionType {