Skip to content

Commit

Permalink
fix(npc_buffer.cpp): build (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
Helias authored Aug 15, 2024
1 parent 63bf540 commit 580fef0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/npc_buffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 580fef0

Please sign in to comment.