NPCBots: switch from appveyor to github workflow for windows build 3

This commit is contained in:
trickerer
2023-12-22 12:37:28 +07:00
parent 064ba074a5
commit d428a4b451
2 changed files with 7 additions and 1 deletions

2
.github/README.md vendored
View File

@@ -6,7 +6,7 @@
3.3.5
:------------:
[![nopch-build](https://github.com/trickerer/AzerothCore-wotlk-with-NPCBots/actions/workflows/core-build-nopch.yml/badge.svg?branch=npcbots_3.3.5)](https://github.com/trickerer/AzerothCore-wotlk-with-NPCBots/actions/workflows/core-build-nopch.yml)
[![windows-build](https://github.com/trickerer/AzerothCore-wotlk-with-NPCBots/workflows/windows-build/badge.svg?branch=npcbots_3.3.5&event=push)](https://github.com/trickerer/AzerothCore-wotlk-with-NPCBots/actions?query=workflow%3Awindows-build+branch%3Amaster+event%3Apush)
[![windows-build](https://github.com/trickerer/AzerothCore-wotlk-with-NPCBots/actions/workflows/windows_build.yml/badge.svg)](https://github.com/trickerer/AzerothCore-wotlk-with-NPCBots/actions/workflows/windows_build.yml)
## Introduction

View File

@@ -1265,7 +1265,13 @@ void WorldSession::HandleItemNameQueryOpcode(WorldPacket& recvData)
{
std::string Name = pName->name;
LocaleConstant loc_idx = GetSessionDbLocaleIndex();
//npcbot: pointless check, see AccountInfo()
/*
//end npcbot
if (loc_idx >= 0)
//npcbot
*/
//end npcbot
if (ItemSetNameLocale const* isnl = sObjectMgr->GetItemSetNameLocale(itemid))
ObjectMgr::GetLocaleString(isnl->Name, loc_idx, Name);