Skip to content

Commit 580fef0

Browse files
authored
fix(npc_buffer.cpp): build (#34)
1 parent 63bf540 commit 580fef0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/npc_buffer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ class buff_npc : public CreatureScript
138138
* */
139139
static uint GetSpellForLevel(uint32 spell_id, Player *player)
140140
{
141-
uint32 level = player->getLevel();
141+
uint32 level = player->GetLevel();
142142

143143
// if the character is level max level or higher, return the last spell in the chain
144144
if (level >= MaxLevel)

0 commit comments

Comments
 (0)