diff --git a/doc/ChangeLog.html b/doc/ChangeLog.html index 81def51d3..fc40a67bd 100644 --- a/doc/ChangeLog.html +++ b/doc/ChangeLog.html @@ -35,6 +35,7 @@ <ul> <li><b>2.1 Released</b><p> <ul> + <li>Fixed bug #951561: Some upgraded building don't unfog correctly (from Russell Smith). <li>Fixed bug #928568: Oil platform can be built under a ship (from Jimmy Salmon). <li>Fixed bug #913100: Stratagus ignores player race (from Jimmy Salmon). <li>Fixed bug #931995: first oil is free (from Jimmy Salmon). diff --git a/src/action/action_upgradeto.cpp b/src/action/action_upgradeto.cpp index 1919fbb53..4a5fab9de 100644 --- a/src/action/action_upgradeto.cpp +++ b/src/action/action_upgradeto.cpp @@ -96,7 +96,7 @@ global void HandleActionUpgradeTo(Unit* unit) // Update Possible sight range change MapUnmarkUnitSight(unit); - unit->CurrentSightRange = unit->Stats[player->Player].SightRange; + unit->CurrentSightRange = unit->Stats->SightRange; MapMarkUnitSight(unit); //