Converted castle_db.txt to YAML (#6077)

* Converts the Guild Castles Database into YAML.
* Includes CSV2YAML converter.

Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
This commit is contained in:
Atemo
2021-07-12 23:54:14 +02:00
committed by GitHub
parent 43fd6043c9
commit 01a3caf9f9
20 changed files with 734 additions and 219 deletions

View File

@@ -3463,7 +3463,7 @@ int unit_free(struct block_list *bl, clr_type clrtype)
}
if( md->guardian_data ) {
struct guild_castle* gc = md->guardian_data->castle;
std::shared_ptr<guild_castle> gc = md->guardian_data->castle;
if( md->guardian_data->number >= 0 && md->guardian_data->number < MAX_GUARDIANS )
gc->guardian[md->guardian_data->number].id = 0;