From 786bd31563a1b421f2937e3c0f20273df166f9af Mon Sep 17 00:00:00 2001
From: mr-russ <>
Date: Tue, 18 May 2004 00:50:27 +0000
Subject: [PATCH] `cat /tmp/cvstuDAp5`

---
 doc/ChangeLog.html              | 1 +
 src/action/action_upgradeto.cpp | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

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);
 
 		//