From e158a5e14e4e7f053ff50ae25ebf8d529d4b73f7 Mon Sep 17 00:00:00 2001 From: Kaelima Date: Mon, 31 Oct 2011 09:17:45 +0100 Subject: Core/Commands: Typo in d9406b0e5940d2e18c72ed10a45658caf5c508cd Ty glkrlos --- src/server/scripts/Commands/cs_npc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/server/scripts/Commands/cs_npc.cpp b/src/server/scripts/Commands/cs_npc.cpp index 3e799e70511..20d0994b911 100644 --- a/src/server/scripts/Commands/cs_npc.cpp +++ b/src/server/scripts/Commands/cs_npc.cpp @@ -155,7 +155,7 @@ public: } //add item in vendorlist - static bool HandleNpcAddVendorItemCommand(ChatHandler* handler, const char* args) + static bool HandleNpcAddVendorItemCommand(ChatHandler* handler, char const* args) { if (!*args) return false; @@ -170,7 +170,7 @@ public: int32 item_int = atol(pitem); if (item_int <= 0) - return true; + return false; uint32 itemId = item_int; -- cgit v1.2.3