View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002906 | The Dark Mod | Coding | public | 06.11.2011 15:28 | 07.11.2011 04:22 |
Reporter | Springheel | Assigned To | grayman | ||
Priority | normal | Severity | normal | Reproducibility | sometimes |
Status | resolved | Resolution | fixed | ||
Product Version | TDM 1.07 | ||||
Target Version | TDM 1.07 | Fixed in Version | TDM 1.07 | ||
Summary | 0002906: Arrows sometimes spawn explosion decal without exploding mine | ||||
Description | about 25% of the time when I shoot one with an arrow, the arrow breaks and the white-hot scorch decal is applied to the mine...but the mine doesn't detonate. Shooting it again works. | ||||
Tags | No tags attached. | ||||
Is it possible that you're shooting the mine before it's armed? It takes about 4 seconds after tossing it before it's armed. The only time I could reproduce this problem is when I fire at the mine very soon after throwing it. The mine is being damaged, but since it's not armed, it doesn't explode. It takes the impulse and reacts to that. The decal code only cares if damage is being applied, not whether there's an explosion. I need to account for the case where there's damage, but no explosion. |
|
Hmm, that's quite possible, I can't recall. I'll test it. | |
Yes, that looks like the cause. | |
This only happens if an arrow hits a mine before it’s armed. After tossing a mine, 4 seconds pass before it arms. A mine only explodes once it’s armed. Since displaying the damage effect decal is done separately from exploding, we need to check the mine to see if it’s armed. Armed = explosion + decal. Not armed = no explosion and no decal. rev. 5028: projectile.cpp projectile.h |
|
Date Modified | Username | Field | Change |
---|---|---|---|
06.11.2011 15:28 | Springheel | New Issue | |
06.11.2011 15:28 | Springheel | Status | new => assigned |
06.11.2011 15:28 | Springheel | Assigned To | => grayman |
06.11.2011 19:16 | tels | Relationship added | related to 0002794 |
07.11.2011 00:41 | grayman | Note Added: 0004128 | |
07.11.2011 00:42 | grayman | Status | assigned => feedback |
07.11.2011 01:41 | Springheel | Note Added: 0004129 | |
07.11.2011 01:41 | Springheel | Status | feedback => assigned |
07.11.2011 01:47 | Springheel | Note Added: 0004130 | |
07.11.2011 04:22 | grayman | Note Added: 0004131 | |
07.11.2011 04:22 | grayman | Status | assigned => resolved |
07.11.2011 04:22 | grayman | Resolution | open => fixed |
07.11.2011 04:22 | grayman | Fixed in Version | => TDM 1.07 |
07.11.2011 04:22 | grayman | Target Version | => TDM 1.07 |