deathcause: ghosts are dead

develop
jj 2012-12-06 13:43:58 +01:00
parent 9a6eff0370
commit 126c31684e
1 changed files with 1 additions and 1 deletions

@ -33,7 +33,7 @@ elsif hf == -1
else else
histfig = df.world.history.figures.binsearch(hf) histfig = df.world.history.figures.binsearch(hf)
unit = histfig ? df.unit_find(histfig.unit_id) : nil unit = histfig ? df.unit_find(histfig.unit_id) : nil
if unit and not unit.flags1.dead if unit and not unit.flags1.dead and not unit.flags3.ghostly
puts "#{unit.name} is not dead yet !" puts "#{unit.name} is not dead yet !"
else else