Minor projectile clean-ups and perf optimizations

This commit is contained in:
reaperrr
2019-05-13 01:04:00 +02:00
committed by reaperrr
parent 6897ebe2a8
commit 90325305d6
6 changed files with 31 additions and 25 deletions

View File

@@ -103,12 +103,16 @@ namespace OpenRA.Mods.Common.Projectiles
readonly Animation hitanim;
readonly Color color;
readonly Color secondaryColor;
int ticks = 0;
readonly bool hasLaunchEffect;
int ticks;
int interval;
bool showHitAnim;
bool hasLaunchEffect;
[Sync] WPos target;
[Sync] WPos source;
[Sync]
WPos target;
[Sync]
WPos source;
public LaserZap(LaserZapInfo info, ProjectileArgs args, Color color)
{