diff --git a/GroupMethods.h b/GroupMethods.h index a77ff43..f99f0f1 100644 --- a/GroupMethods.h +++ b/GroupMethods.h @@ -231,7 +231,7 @@ namespace LuaGroup if (icon >= TARGETICONCOUNT) return luaL_argerror(L, 2, "valid target icon expected"); -#if (defined(TBC) || defined(TBC)) +#if (defined(CLASSIC) || defined(TBC)) group->SetTargetIcon(icon, ObjectGuid(target)); #else group->SetTargetIcon(icon, ObjectGuid(setter), ObjectGuid(target));