You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Title says it all really, but heres a bit more detail, Code:
public override int NPCShader(NPC npc, SpriteBatch spriteBatch, Color drawColor)
{
if (npc.townNPC)
return base.NPCShader(npc, spriteBatch, drawColor);
var gnpc = npc.GetGlobalNPC();
Will cause my mod town NPC's to be affected by the same shader. I've checked to see if(npc.townNPC) is hit, it is. Shaders are still being applied to the wrong NPC.
The text was updated successfully, but these errors were encountered:
Title says it all really, but heres a bit more detail, Code:
public override int NPCShader(NPC npc, SpriteBatch spriteBatch, Color drawColor)
{
if (npc.townNPC)
return base.NPCShader(npc, spriteBatch, drawColor);
var gnpc = npc.GetGlobalNPC();
Will cause my mod town NPC's to be affected by the same shader. I've checked to see if(npc.townNPC) is hit, it is. Shaders are still being applied to the wrong NPC.
The text was updated successfully, but these errors were encountered: