From 853a6efd20eed5b89a0d9b9666c424bf0b68c868 Mon Sep 17 00:00:00 2001 From: "Johnny C. Lam" Date: Fri, 30 Nov 2012 05:00:59 +0000 Subject: [PATCH] Hide "unknown spell" error behind an "unknown_spells" debug flag. This error is primarily for script authors to toggle when they verify their scripts are correct. git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@652 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- OvaleCompile.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OvaleCompile.lua b/OvaleCompile.lua index cbe4ba3..b7657f7 100644 --- a/OvaleCompile.lua +++ b/OvaleCompile.lua @@ -206,7 +206,7 @@ local function ParseFunction(prefix, func, params) unknownSpellNodes[newNode.nodeId] = spellId end else - Ovale:Print("Unknown spell with ID "..spellId) + Ovale:debugPrint("unknown_spells", "Unknown spell with ID "..spellId) end end end -- 1.7.9.5