Skip to content

Commit

Permalink
stuffs
Browse files Browse the repository at this point in the history
  • Loading branch information
gamrguy committed May 7, 2018
1 parent 10f4c57 commit 07feae9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ShaderLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ public static void ProjectileShader(Projectile projectile, SpriteBatch spriteBat
data.scale = new Vector2(projectile.scale, projectile.scale);
data.texture = Main.projectileTexture[projectile.type];
data.sourceRect = data.texture.Frame(1, Main.projFrames[projectile.type], 0, projectile.frame);
data.rotation = projectile.rotation;
GameShaders.Armor.ApplySecondary(shaderID, Main.player[projectile.owner], data);
}
}
Expand All @@ -264,6 +265,7 @@ public static void NPCShader(NPC npc, SpriteBatch spriteBatch, Color drawColor)
data.scale = new Vector2(npc.scale, npc.scale);
data.texture = Main.npcTexture[npc.type];
data.sourceRect = npc.frame;//data.texture.Frame(1, Main.npcFrameCount[npc.type], 0, npc.frame);
data.rotation = npc.rotation;
GameShaders.Armor.ApplySecondary(shaderID, npc, data);
}
}
Expand Down
2 changes: 1 addition & 1 deletion description.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Other mods may require this mod to be enabled.

Automatic functions of this mod:
- Fixes look of special dyes on pets and grappling hooks
- Allows use of armor dye on Familiar
- Allows use of armor dye on Familiar Wig

Patch 2.0.1:
- Fix reverse gravity issues

0 comments on commit 07feae9

Please sign in to comment.