From cfb0492cbbd4f86d260426a9db2d14f7c365da6b Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Wed, 5 Feb 2014 15:07:40 +0100 Subject: KYRA: Fix scrolling credits in HoF. --- engines/kyra/sequences_hof.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') diff --git a/engines/kyra/sequences_hof.cpp b/engines/kyra/sequences_hof.cpp index 9fcce4eb55..776a3e50b0 100644 --- a/engines/kyra/sequences_hof.cpp +++ b/engines/kyra/sequences_hof.cpp @@ -1651,7 +1651,7 @@ void SeqPlayer_HOF::displayHoFTalkieScrollText(uint8 *data, const ScreenDim *d, textData[1].text += strlen((char *)textData[1].text); textData[1].text[0] = textData[1].unk1; cnt--; - memcpy(&textData[1], &textData[2], cnt * sizeof(ScrollTextData)); + memmove(&textData[1], &textData[2], cnt * sizeof(ScrollTextData)); } if (palCycle) { -- cgit v1.2.3