exterminate: fix gender detection

develop
jj 2013-03-19 18:35:06 +01:00
parent 2c0d88a372
commit 3567bb7299
1 changed files with 4 additions and 4 deletions

@ -73,9 +73,9 @@ EOS
when 'him', 'her', 'it', 'that'
if him = df.unit_find
case him.race_tg.caste[him.caste].caste_id
when 'FEMALE'; puts 'its a she !' if race != 'her'
when 'MALE'; puts 'its a he !' if race != 'him'
case him.race_tg.caste[him.caste].gender
when 0; puts 'its a she !' if race != 'her'
when 1; puts 'its a he !' if race != 'him'
else; puts 'its an it !' if race != 'it' and race != 'that'
end
slayit[him]