View Issue Details

IDProjectCategoryView StatusLast Update
0002302FSSCPgameplaypublic2010-10-04 00:06
ReporterGoober5000 Assigned ToSushi_CW  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Summary0002302: Sushi's collision physics feature causes crashing in asteroid fields
DescriptionThis is because of an implicit assumption that Sushi made in the function calculate_ship_ship_collision_physics -- namely, that the objects would all be ships. Good assumption, but wrong. Apparently asteroid collisions go through here too.

A good solution would probably be to calculate the collision physics variables at the beginning of the function, and to assign default variables if one (or both) of the objects happens to be an asteroid.

In the meantime, I've reverted Sushi's most recent commit to collideshipship.cpp.
TagsNo tags attached.

Activities

Sushi_CW

2010-09-04 16:34

developer   ~0012345

I've fixed the code so that it will work even without ships. Since I was already midway through another large commit affecting the file, however, I'll just commit the fixes along with the new code.

Sushi_CW

2010-10-04 00:06

developer   ~0012381

This got fixed.

Issue History

Date Modified Username Field Change
2010-09-03 00:14 Goober5000 New Issue
2010-09-03 00:14 Goober5000 Status new => assigned
2010-09-03 00:14 Goober5000 Assigned To => Sushi_CW
2010-09-04 16:34 Sushi_CW Note Added: 0012345
2010-10-04 00:06 Sushi_CW Note Added: 0012381
2010-10-04 00:06 Sushi_CW Status assigned => resolved
2010-10-04 00:06 Sushi_CW Resolution open => fixed