2025-07-05 08:11 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0000665Spring engineGeneralpublic2007-10-28 22:12
ReporterKDR_11k 
Assigned ToKloot 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
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
Attached Files

-Relationships
+Relationships

-Notes

~0001373

Kloot (developer)

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

-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
+Issue History