Cleaning formula AI merge 2008-03-03T05:40:29Z!davewx7@gmail.com
Redo final part of 2008-01-31T15:03:23Z!paniemin@cc.hut.fi
This commit is contained in:
parent
9a3890d468
commit
e935c2d351
1 changed files with 1 additions and 1 deletions
|
@ -755,7 +755,7 @@ void attack::fire_event(const std::string& n)
|
|||
dat.add_child("first");
|
||||
dat.add_child("second");
|
||||
if(a_ != units_.end()) {
|
||||
(*(dat.child("first")))["weapon"]=a_stats_->weapon->id();
|
||||
(*(dat.child("first")))["weapon"]= a_stats_->weapon ? a_stats_->weapon->id() : "none";
|
||||
|
||||
}
|
||||
if(d_ != units_.end()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue