[Fix] Fix strcpy-param-overlap (#3157)

This commit is contained in:
Aeadoin 2023-03-29 08:33:06 -04:00 committed by GitHub
parent 7854130a93
commit d4174ca236
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1135,7 +1135,6 @@ void Mob::SetSpawnLastNameByClass(NewSpawn_Struct* ns)
strcpy(ns->spawn.lastName, "Mercenary Liaison");
break;
default:
strcpy(ns->spawn.lastName, ns->spawn.lastName);
break;
}
}