Added comment about why CalamityPlayerDrawParameters is needed
This commit is contained in:
1 parent
a8729bd4e4
commit
23a3f3b26a
1 file changed
+4
@@ -10,6 +10,10 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.CalPlayer
|
||||
{
|
||||
// This should be a thing for reason:
|
||||
// - Draw call invoke faster than Player.Update
|
||||
// - Therefore draw call often gets default value for shield charge or such, results in flickering bug
|
||||
// So we calculate those value as same rate as Player.Update
|
||||
public struct CalamityPlayerDrawingParameters
|
||||
{
|
||||
public float ProfanedShieldStrength;
|
||||
|
||||
Reference in new issue
Block a user