Skip to content

Commit

Permalink
v1.9.5 - fix incorrect parameter order for Npc_SendPassivePerc
Browse files Browse the repository at this point in the history
  • Loading branch information
kirides committed Jun 3, 2021
1 parent 5a393ce commit e912794
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Ninja/Quickloot/CONTENT/Quickloot/INIT.D
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const string NINJA_QUICKLOOT_VERSION = "Quickloot v1.9.4";
const string NINJA_QUICKLOOT_VERSION = "Quickloot v1.9.5";

FUNC VOID _Ninja_Quickloot_NPC_CollectFocusVob (var C_NPC slfInstance, var int force) {
var int npcPtr; npcPtr = MEM_InstToPtr(slfInstance);
Expand Down Expand Up @@ -129,7 +129,7 @@ func void _Ninja_Quickloot_PerceiveAction(var C_NPC taker, var int vobPtr, var i
};
// Sends perception to all surrounding NPCs
// this creates a zSPY warning about invalid "victim" but that's fine!
Npc_SendPassivePerc(taker, perc, taker, NULL);
Npc_SendPassivePerc(taker, perc, NULL, taker);
item = MEM_CpyInst(itmOld);
};

Expand Down

0 comments on commit e912794

Please sign in to comment.