diff --git a/doc/ChangeLog.html b/doc/ChangeLog.html index d86450f78..1f0d07a84 100644 --- a/doc/ChangeLog.html +++ b/doc/ChangeLog.html @@ -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> diff --git a/src/stratagus/spells.cpp b/src/stratagus/spells.cpp index 7562c81c8..215bbf014 100644 --- a/src/stratagus/spells.cpp +++ b/src/stratagus/spells.cpp @@ -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,