diff options
Diffstat (limited to 'src/crmain.cc')
| -rw-r--r-- | src/crmain.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/crmain.cc b/src/crmain.cc index 52a7c13..7e0ab42 100644 --- a/src/crmain.cc +++ b/src/crmain.cc @@ -592,7 +592,7 @@ int TCreature::Damage(TCreature *Attacker, int Damage, int DamageType){ this->SetTimer(SKILL_ILLUSION, 0, 0, 0, -1); this->Outfit = this->OrgOutfit; AnnounceChangedCreature(this->ID, CREATURE_OUTFIT_CHANGED); - NotifyAllCreatures(this->CrObject, 2, NONE); // CREATURE_APPEAR ? + NotifyAllCreatures(this->CrObject, OBJECT_CHANGED, NONE); } if(DamageType == DAMAGE_MANADRAIN){ @@ -890,8 +890,7 @@ void TCreature::CreatureMoveStimulus(uint32 CreatureID, int Type){ return; } - // TODO(fusion): Find out what `Type` is here. - if(Type != 2 // STIMULUS_TYPE_?? + if(Type != OBJECT_CHANGED || !this->LockToDo || this->ActToDo >= this->NrToDo || this->ToDoList.at(this->ActToDo)->Code != TDAttack){ |
