From 5436883fc192f55b3c4aada06177089b629ede7c Mon Sep 17 00:00:00 2001 From: xavier Date: Sat, 23 Jul 2011 16:20:43 +0000 Subject: [PATCH] unused vars. --- Scripts/Mobiles/BaseCreature.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Scripts/Mobiles/BaseCreature.cs b/Scripts/Mobiles/BaseCreature.cs index f492f0701..bc257fc26 100644 --- a/Scripts/Mobiles/BaseCreature.cs +++ b/Scripts/Mobiles/BaseCreature.cs @@ -2044,8 +2044,6 @@ namespace Server.Mobiles if ( amount > 0 ) { - bool happier = false; - int stamGain; if ( f is Gold ) @@ -2061,7 +2059,6 @@ namespace Server.Mobiles if ( m_Loyalty < MaxLoyalty ) { m_Loyalty = MaxLoyalty; - happier = true; } } else @@ -2071,7 +2068,6 @@ namespace Server.Mobiles if ( m_Loyalty < MaxLoyalty && 0.5 >= Utility.RandomDouble() ) { m_Loyalty += 10; - happier = true; } } }