diff options
| author | megamage <none@none> | 2008-11-23 13:58:06 -0600 |
|---|---|---|
| committer | megamage <none@none> | 2008-11-23 13:58:06 -0600 |
| commit | 8d687761bcea04c9d9d4add8699df5e48ec0d546 (patch) | |
| tree | a596417166e5e4d8f3b41ac1a233db0b1ace87d9 /src/game/Creature.cpp | |
| parent | fb64da2182ddb732c44ab102c670fe3abf23188d (diff) | |
*Creatures with the same faction should always be friendly to each other. This fix the bug that creatures with the same faction fight earch other.
*Allow "chain effect" when creatures call assistance.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Creature.cpp')
| -rw-r--r-- | src/game/Creature.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/Creature.cpp b/src/game/Creature.cpp index c547065b206..79c1bf18008 100644 --- a/src/game/Creature.cpp +++ b/src/game/Creature.cpp @@ -1891,7 +1891,8 @@ void Creature::CallAssistence() for(std::list<Creature*>::iterator iter = assistList.begin(); iter != assistList.end(); ++iter) { - (*iter)->SetNoCallAssistence(true); + //(*iter)->SetNoCallAssistence(true); + (*iter)->CombatStart(getVictim()); if((*iter)->AI()) (*iter)->AI()->AttackStart(getVictim()); } |
