Skip to content

Commit

Permalink
src/character_editor.cc 7253 err V783 Dereferencing of the invalid it…
Browse files Browse the repository at this point in the history
…erator 'gCustomKarmaFolderDescriptions.end()' might take place.
  • Loading branch information
roginvs committed Jan 7, 2025
1 parent 6174253 commit eaab620
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/character_editor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7250,7 +7250,7 @@ static int customKarmaFolderGetFrmId()
return entry.frmId;
}
}
return gCustomKarmaFolderDescriptions.end()->frmId;
return gCustomKarmaFolderDescriptions.back().frmId;
}

static void customTownReputationInit()
Expand Down

0 comments on commit eaab620

Please sign in to comment.