mirror of
https://github.com/1dot13/source.git
synced 2026-08-19 14:20:30 +02:00
simplified a few lines concerning traits
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5569 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -1869,10 +1869,9 @@ void DisplayCharStats(INT32 iId, INT32 iSlot)
|
||||
|
||||
// Assign the text
|
||||
UINT8 traitnr = ubTempSkillArray[ubCnt];
|
||||
UINT8 mlas = NEWTRAIT_MERCSKILL_EXPERTOFFSET;
|
||||
if ( traitnr > mlas )
|
||||
if ( traitnr > NEWTRAIT_MERCSKILL_EXPERTOFFSET )
|
||||
{
|
||||
traitnr = traitnr - mlas;
|
||||
traitnr = traitnr - (NEWTRAIT_MERCSKILL_EXPERTOFFSET);
|
||||
}
|
||||
|
||||
// Flugente: as the whole trait display is fubar, we have to to a special treatment here for new traits
|
||||
|
||||
Reference in New Issue
Block a user