remove status from cfg after reading a unit

This commit is contained in:
Dominic Bolin 2006-06-07 12:35:18 +00:00
parent c4915d9435
commit 72ad8a8f2f

View File

@ -1013,6 +1013,7 @@ void unit::read(const config& cfg)
states_["stoned"] = st->second;
}
}
cfg_.remove_child("status",0);
}
if(cfg["ai_special"] == "guardian") {
set_state("guardian","yes");