diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/lab/engine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lab/engine.cpp b/engines/lab/engine.cpp index 11a64114b5..793a333a54 100644 --- a/engines/lab/engine.cpp +++ b/engines/lab/engine.cpp @@ -825,7 +825,7 @@ void LabEngine::processMainButton(uint16 &curInv, uint16 &lastInv, uint16 &oldDi if (!intersect) { if (_numCrumbs == MAX_CRUMBS) { _numCrumbs = MAX_CRUMBS - 1; - memcpy(&_breadCrumbs[0], &_breadCrumbs[1], _numCrumbs * sizeof _breadCrumbs[0]); + memmove(&_breadCrumbs[0], &_breadCrumbs[1], _numCrumbs * sizeof _breadCrumbs[0]); } _breadCrumbs[_numCrumbs]._crumbRoomNum = _roomNum; |