Permalink
Browse files

WoWPro.NextStepNotSticky() can step of the edge of the guide.

  • Loading branch information...
Ludovicus Ludovicus
Ludovicus authored and Ludovicus committed Nov 24, 2014
1 parent 03ff29c commit d32abbafdd4e12ea08f7db70befc88d76718ef60
Showing with 5 additions and 1 deletion.
  1. +5 −1 WoWPro/WoWPro_Broker.lua
View
@@ -888,7 +888,11 @@ function WoWPro.NextStepNotSticky(k)
k = k + 1
end
end
WoWPro:print("WoWPro.NextStepNotSticky=%d: %s [%s] %s",k, WoWPro.action[k], WoWPro.step[k], (WoWPro.questtext[k] and "QO="..WoWPro.questtext[k]) or "" )
if k > WoWPro.stepcount then
WoWPro:print("WoWPro.NextStepNotSticky=%d: > EOG",k)
else
WoWPro:print("WoWPro.NextStepNotSticky=%d: %s [%s] %s",k, WoWPro.action[k], WoWPro.step[k], (WoWPro.questtext[k] and "QO="..WoWPro.questtext[k]) or "" )
end
return k
end

0 comments on commit d32abba

Please sign in to comment.