dialog pick-race-abil: print pc's name + add left/right arrows
This commit is contained in:
@@ -59,7 +59,7 @@ void cPlayer::import_legacy(legacy::pc_record_type old){
|
||||
direction = eDirection(old.direction);
|
||||
}
|
||||
|
||||
short cPlayer::get_tnl(){
|
||||
short cPlayer::get_tnl() const {
|
||||
short tnl = 100,store_per = 100;
|
||||
// Omitting a race from this list gives it a value of 0, thanks to the defaulting implementation of operator[]
|
||||
static std::map<const eRace, const int> rp = {{eRace::NEPHIL,12},{eRace::SLITH,20},{eRace::VAHNATAI,18}};
|
||||
|
@@ -171,7 +171,7 @@ public:
|
||||
void import_legacy(legacy::pc_record_type old);
|
||||
cPlayer(cParty& party);
|
||||
cPlayer(cParty& party,ePartyPreset key,short slot);
|
||||
short get_tnl();
|
||||
short get_tnl() const;
|
||||
void writeTo(std::ostream& file) const;
|
||||
void readFrom(std::istream& file);
|
||||
virtual ~cPlayer() = default;
|
||||
|
Reference in New Issue
Block a user