Skip to content

Commit

Permalink
Update TC define name
Browse files Browse the repository at this point in the history
  • Loading branch information
Niam5 committed Oct 11, 2023
1 parent 46bed6d commit e38a8fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TrinityCore/GroupMethods.h
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ namespace LuaGroup
ObjectGuid target = Eluna::CHECKVAL<ObjectGuid>(L, 3);
ObjectGuid setter = Eluna::CHECKVAL<ObjectGuid>(L, 4, ObjectGuid());

if (icon >= TARGETICONCOUNT)
if (icon >= TARGET_ICONS_COUNT)
return luaL_argerror(L, 2, "valid target icon expected");

group->SetTargetIcon(icon, setter, target);
Expand Down

0 comments on commit e38a8fd

Please sign in to comment.