From 580fef0f0004cfb7924bb4c32864762fa2388bfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefano=20Borz=C3=AC?= Date: Thu, 15 Aug 2024 19:41:11 +0200 Subject: [PATCH] fix(npc_buffer.cpp): build (#34) --- src/npc_buffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/npc_buffer.cpp b/src/npc_buffer.cpp index 9357188..7599ead 100644 --- a/src/npc_buffer.cpp +++ b/src/npc_buffer.cpp @@ -138,7 +138,7 @@ class buff_npc : public CreatureScript * */ static uint GetSpellForLevel(uint32 spell_id, Player *player) { - uint32 level = player->getLevel(); + uint32 level = player->GetLevel(); // if the character is level max level or higher, return the last spell in the chain if (level >= MaxLevel)