Fix checking boolean like int
parent
62fdfc9f92
commit
fdc0081bb8
|
@ -938,7 +938,7 @@ void COldObject::Write(CLevelParserLine* line)
|
|||
if ( GetGunGoalH() != 0.0f )
|
||||
line->AddParam("aimH", CLevelParserParamUPtr{new CLevelParserParam(GetGunGoalH())});
|
||||
|
||||
if ( GetAnimateOnReset() != 0 )
|
||||
if ( GetAnimateOnReset() )
|
||||
{
|
||||
line->AddParam("resetCap", CLevelParserParamUPtr{new CLevelParserParam(GetAnimateOnReset())});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue