Fix Create PC node not setting the new PC's status to Alive
This commit is contained in:
@@ -225,6 +225,7 @@ void cParty::append(legacy::pc_record_type(& old)[6]) {
|
|||||||
|
|
||||||
void cParty::new_pc(size_t spot) {
|
void cParty::new_pc(size_t spot) {
|
||||||
replace_pc(spot, new cPlayer(*this));
|
replace_pc(spot, new cPlayer(*this));
|
||||||
|
adven[spot]->main_status = eMainStatus::ALIVE;
|
||||||
}
|
}
|
||||||
|
|
||||||
void cParty::replace_pc(size_t spot, cPlayer* with) {
|
void cParty::replace_pc(size_t spot, cPlayer* with) {
|
||||||
|
|||||||
Reference in New Issue
Block a user