fix gcc 12.1 compilation
This commit is contained in:
@ -126,10 +126,10 @@ void CPlayer::Connect(const char* address ){
|
||||
|
||||
void CPlayer::restartStats(bool all)
|
||||
{
|
||||
if ( all ) memset(weapons,0,sizeof(weapons));
|
||||
memset(weaponsRnd,0,sizeof(weaponsRnd)); //DEC-Weapon (Round) stats
|
||||
memset(attackers,0,sizeof(attackers));
|
||||
memset(victims,0,sizeof(victims));
|
||||
if ( all ) memset(&weapons,0,sizeof(weapons));
|
||||
memset(&weaponsRnd,0,sizeof(weaponsRnd)); //DEC-Weapon (Round) stats
|
||||
memset(&attackers,0,sizeof(attackers));
|
||||
memset(&victims,0,sizeof(victims));
|
||||
life = {};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user