aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/support
diff options
context:
space:
mode:
authorPaul Gilbert2016-10-27 21:09:18 -0400
committerPaul Gilbert2016-10-27 21:09:18 -0400
commit9b1a2555f950738fa9ef2cbe5b5fba54a500715c (patch)
treea1aa98cc230a283ce0f3e5259f34ac69db2e5f2c /engines/titanic/support
parent8ba899b46be702b5a079f26011df147c18fe8222 (diff)
downloadscummvm-rg350-9b1a2555f950738fa9ef2cbe5b5fba54a500715c.tar.gz
scummvm-rg350-9b1a2555f950738fa9ef2cbe5b5fba54a500715c.tar.bz2
scummvm-rg350-9b1a2555f950738fa9ef2cbe5b5fba54a500715c.zip
TITANIC: Fix setting up timer action strings
Diffstat (limited to 'engines/titanic/support')
-rw-r--r--engines/titanic/support/time_event_info.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/support/time_event_info.cpp b/engines/titanic/support/time_event_info.cpp
index e088a8e0c2..c61ceb29ae 100644
--- a/engines/titanic/support/time_event_info.cpp
+++ b/engines/titanic/support/time_event_info.cpp
@@ -100,8 +100,8 @@ CTimeEventInfo::CTimeEventInfo() : ListItem(), _lockCounter(0),
CTimeEventInfo::CTimeEventInfo(uint ticks, bool repeated, uint firstDuration,
uint repeatDuration, CTreeItem *target, int endVal, const CString &action) :
ListItem(), _lockCounter(0), _repeated(repeated), _firstDuration(firstDuration),
- _repeatDuration(repeatDuration), _target(target), _actionVal(endVal), _done(false),
- _timerCtr(0), _lastTimerTicks(ticks), _relativeTicks(0), _persisent(true) {
+ _repeatDuration(repeatDuration), _target(target), _actionVal(endVal), _action(action),
+ _done(false), _timerCtr(0), _lastTimerTicks(ticks), _relativeTicks(0), _persisent(true) {
_id = _nextId++;
}