Fix invalid check found by PVS Studio

Was V501 at https://www.viva64.com/en/b/0741/
This commit is contained in:
Andreas Bergmeier 2020-06-21 21:31:05 +02:00
parent 03416d24e1
commit 70076bf624

View file

@ -5573,7 +5573,7 @@ void Shake_The_Screen(int shakes, HousesType house)
*=============================================================================================*/ *=============================================================================================*/
void List_Copy(short const * source, int len, short * dest) void List_Copy(short const * source, int len, short * dest)
{ {
if (dest == NULL || dest == NULL) { if (source == NULL || dest == NULL) {
return; return;
} }