Quantcast

bug: undue script error

Sidoine De Wispelaere [11-29-09 - 12:19]
bug: undue script error

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@143 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Filename
Ovale.lua
diff --git a/Ovale.lua b/Ovale.lua
index 9763592..d35619b 100644
--- a/Ovale.lua
+++ b/Ovale.lua
@@ -1343,11 +1343,6 @@ function Ovale:CalculerMeilleureAction(element)
 					end
 				end
 				if (remplacer) then
-					if not nouveauElement then
-						self.bug = true
-						self:Print("Internal error: bestElement=nil and newStart="..newStart)
-						return nil
-					end
 					meilleurTempsFils = newStart
 					meilleurePrioriteFils = priorite
 					bestElement = nouveauElement