Fixed circle of power so it's a neutral unit

This commit is contained in:
jsalmon3 2003-03-02 06:35:10 +00:00
parent 003f489207
commit 6218b40f0c
2 changed files with 4 additions and 3 deletions
doc
src/stratagus

View file

@ -1104,10 +1104,11 @@
<LI>Fixed bug #233900: Train new units in pause mode didn't work.
(from Russell Smith).
<LI>Walls don't count for buildings stats (from Jimmy Salmon).
<LI>Fixed Bug 444273: Heroes have wrong upgrades (from Russell
<LI>Fixed bug 444273: Heroes have wrong upgrades (from Russell
Smith).
<LI>Fixed Bug (One Peasant Only) Should only effect Human and
<LI>Fixed bug (One Peasant Only) Should only effect Human and
Computer Players, not Nobody, Neutral or Rescue Units
<LI>Fixed circle of power so it's a neutral unit (from Jimmy Salmon).
<LI>+++
</UL>
</UL>

View file

@ -2365,7 +2365,7 @@ local int CastCircleOfPower(Unit* unit, const SpellType* spell __attribute__((un
PlaceUnit(cop, x, y);
} else {
cop = MakeUnitAndPlace(x, y, UnitTypeByIdent("unit-circle-of-power"),
unit->Player);
&Players[PlayerMax-1]);
}
MakeMissile(MissileTypeSpell, x * TileSizeX + TileSizeX / 2,
y * TileSizeY + TileSizeY / 2, x * TileSizeX + TileSizeX / 2,