Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DragonSlayer62 committed Jan 18, 2025
1 parent 3465ffa commit 127da5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/cChar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4383,7 +4383,7 @@ bool CChar::HandleLine( std::string &UTag, std::string &data )
SetDead(( static_cast<UI16>( std::stoul( oldstrutil::trim( oldstrutil::removeTrailing( data, "//" )), nullptr, 0 )) == 1 ));
rValue = true;
}
else if( UTag == "DEFENSECHANCE" )
else if( UTag == "DEFCHANCE" )
{
SetDefenseChance( static_cast<SI16>( std::stoul( oldstrutil::trim( oldstrutil::removeTrailing( data, "//" )), nullptr, 0 )));
rValue = true;
Expand Down

0 comments on commit 127da5c

Please sign in to comment.