summaryrefslogtreecommitdiffstats
path: root/source/cChicken.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/cChicken.cpp')
-rw-r--r--source/cChicken.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/source/cChicken.cpp b/source/cChicken.cpp
index 33d5d0755..201ea7f45 100644
--- a/source/cChicken.cpp
+++ b/source/cChicken.cpp
@@ -25,8 +25,12 @@ void cChicken::KilledBy( cEntity* a_Killer )
cMonster::RandomDropItem(E_ITEM_FEATHER, 0, 2);
// Raw Chicken
- // TODO: (Check wheather it is burning to drop cooked Chicken)
- cMonster::DropItem(E_ITEM_RAW_CHICKEN, 1);
+ if(GetMetaData() == BURNING)
+ {
+ cMonster::DropItem(E_ITEM_COOKED_CHICKEN, 1);
+ }else{
+ cMonster::DropItem(E_ITEM_RAW_CHICKEN, 1);
+ }
cMonster::KilledBy( a_Killer );
} \ No newline at end of file