diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/lure/res_struct.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lure/res_struct.cpp b/engines/lure/res_struct.cpp index ffe46bbae1..9ef595b30f 100644 --- a/engines/lure/res_struct.cpp +++ b/engines/lure/res_struct.cpp @@ -875,7 +875,7 @@ CharacterScheduleEntry::CharacterScheduleEntry(CharacterScheduleEntry *src) { _parent = src->_parent; _action = src->_action; _numParams = src->_numParams; - Common::copy((byte *)src->_params, (byte *)src->_params + MAX_TELL_COMMANDS * 3 * sizeof(uint16), _params); + Common::copy(src->_params, src->_params + MAX_TELL_COMMANDS * 3, _params); } uint16 CharacterScheduleEntry::param(int index) { |