From c8c27bf1a4c4f222ecef300638e0eae5c00aa44c Mon Sep 17 00:00:00 2001
From: johns <>
Date: Sun, 13 Aug 2000 15:20:37 +0000
Subject: [PATCH] Changed by number into unit type name reference.

---
 src/unit/unit.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/unit/unit.cpp b/src/unit/unit.cpp
index 0475b65e5..f68d51124 100644
--- a/src/unit/unit.cpp
+++ b/src/unit/unit.cpp
@@ -560,7 +560,8 @@ global void UnitLost(const Unit* unit)
     if( type->GivesOil && unit->Value > 0 ) {
 	// NOTE: I wasn't sure the best UnitType/Player
 	// NOTE: This should really NOT be hardcoded?!
-	temp=MakeUnitAndPlace(unit->X,unit->Y,UnitTypeByWcNum(93),&Players[15]);
+	temp=MakeUnitAndPlace(unit->X,unit->Y
+		,UnitTypeByIdent("unit-oil-patch"),&Players[15]);
 	temp->Value=unit->Value;
     }