From 8fdfa410cf452a719194cff52c658d064ae42876 Mon Sep 17 00:00:00 2001 From: James Tansley Date: Sat, 4 Jan 2025 14:45:25 -0500 Subject: [PATCH] Update npc_buffer.cpp Fix compilation errors. See issue #40 --- 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 32ae1f2..194a91b 100644 --- a/src/npc_buffer.cpp +++ b/src/npc_buffer.cpp @@ -137,7 +137,7 @@ class buff_npc : public CreatureScript /** Get the most level-appropriate spell from the chain, * based on character level compared to max level (MaxLevel) * */ - static uint GetSpellForLevel(uint32 spell_id, Player *player) + static uint32 GetSpellForLevel(uint32 spell_id, Player *player) { uint32 level = player->GetLevel();