diff --git a/src/game/game.c b/src/game/game.c index 4a627f4..bbe412a 100644 --- a/src/game/game.c +++ b/src/game/game.c @@ -27,7 +27,7 @@ static void shuffle(void* restrict ptr, size_t nmemb, size_t membs) { void* ptrj = (u8*)ptr + j * membs; memcpy(dat, ptri, membs); memcpy(ptri, ptrj, membs); - memcpy(ptrj, ptri, membs); + memcpy(ptrj, dat, membs); } }