Merged in skeletonhorn/ffxiv-classic-server-ai-fork/ai-open (pull request #4)

Minor changes to fix equipability bugs
This commit is contained in:
yogurt 2017-09-08 14:22:41 +00:00 committed by Tahir Akhlaq
commit 9077c60b96
2 changed files with 4 additions and 3 deletions

View file

@ -1936,7 +1936,9 @@ namespace FFXIVClassic_Map_Server.Actors
//If the returned value is outside the hotbar, it indicates it wasn't found.
private ushort FindFirstCommandSlotById(uint commandId)
{
commandId |= 0xA0F00000;
if(commandId != 0)
commandId |= 0xA0F00000;
ushort firstSlot = (ushort)(charaWork.commandBorder + 30);
for (ushort i = charaWork.commandBorder; i < charaWork.commandBorder + 30; i++)