Fix bad type passed to sscanf

--HG--
branch : develop
hg/feature/qt5
kaetemi 11 years ago
parent 89604dbba4
commit 07caf402c2

@ -581,7 +581,7 @@ void AISHEETS::CCreature::readGeorges(NLMISC::CSmartPtr<NLGEORGES::UForm> const&
}
if (item.getValueByName(s, "Basics.FameForGuardAttack") && !s.empty())
{
double tmp;
float tmp;
sscanf(s.c_str(), "%f", &tmp);
_FameForGuardAttack = (sint32)tmp;
}

Loading…
Cancel
Save