View Issue Details

IDProjectCategoryView StatusLast Update
0000665Spring engineGeneralpublic2007-10-28 22:12
ReporterKDR_11k Assigned ToKloot  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Summary0000665: [SVN rev 4652] cegTag makes projectiles stand still
DescriptionWhen using cegTag on LaserCannons (haven't tested other weapons yet), the shot doesn't move. This is probably because the CEG spawning code uses speed.Normalize(). Replacing
ceg.Explosion(pos, 0.0f, intensity, 0x0, 0.0f, 0x0, speed.Normalize());
with
ceg.Explosion(pos, 0.0f, intensity, 0x0, 0.0f, 0x0, dir);
fixes it.
Additional InformationOther weapons may have this issue too, I haven't tested them. A quick grep lists the following as containing the problematic line:
EmgProjectile.cpp
ExplosiveProjectile.cpp
FireBallProjectile.cpp
FlameProjectile.cpp
TorpedoProjectile.cpp
LaserCannon.cpp
TagsNo tags attached.
Checked infolog.txt for Errors

Activities

Kloot

2007-10-28 22:11

developer   ~0001373

Already fixed, the Normalize() calls
were indeed responsible. Thanks anyway
for the report!

Issue History

Date Modified Username Field Change
2007-10-28 20:22 KDR_11k New Issue
2007-10-28 22:11 Kloot Note Added: 0001373
2007-10-28 22:12 Kloot Status new => resolved
2007-10-28 22:12 Kloot Resolution open => fixed
2007-10-28 22:12 Kloot Assigned To => Kloot