View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004603 | The Dark Mod | Physics | public | 15.08.2017 15:37 | 06.09.2017 18:06 |
Reporter | grayman | Assigned To | grayman | ||
Priority | normal | Severity | normal | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | TDM 2.05 | ||||
Target Version | TDM 2.06 | Fixed in Version | TDM 2.06 | ||
Summary | 0004603: If the player is pushing against something that's removed from the game, the game crashes | ||||
Description | This turned up with a new feature that Goldwell and Obsttorte are working on for frobbing loot items. | ||||
Steps To Reproduce | Using Goldwell's test map and Obsttorte's frob_item script, lean into a loot item and push against it. Then frob the item. | ||||
Additional Information | The problem is that when the item being pushed against is removed from the game, it leaves behind a garbage pointer that--when referenced--causes a crash. | ||||
Tags | No tags attached. | ||||
Source changes committed. Latest Windows binaries built and committed. Please test and provide feedback. |
|
When the player pushes against an object, record that fact in the object. If the object is removed from the game, if the player still thinks he’s pushing against it, clear the memory of pushing. This prevents garbage links from forming, possibly leading to a crash. Rev 7081: Class.cpp Force_Push.cpp Force_Push.h Physics_Player.cpp Physics_Player.h Entity.cpp Entity.h Player.cpp Player.h |
|
Date Modified | Username | Field | Change |
---|---|---|---|
15.08.2017 15:37 | grayman | New Issue | |
15.08.2017 15:37 | grayman | Status | new => assigned |
15.08.2017 15:37 | grayman | Assigned To | => grayman |
15.08.2017 21:45 | grayman | Description Updated | |
15.08.2017 21:46 | grayman | Steps to Reproduce Updated | |
19.08.2017 15:42 | grayman | Note Added: 0009106 | |
19.08.2017 15:42 | grayman | Status | assigned => feedback |
19.08.2017 17:35 | grayman | Note Added: 0009109 | |
19.08.2017 17:35 | grayman | Status | feedback => assigned |
06.09.2017 18:06 | grayman | Status | assigned => resolved |
06.09.2017 18:06 | grayman | Resolution | open => fixed |
06.09.2017 18:06 | grayman | Fixed in Version | => TDM 2.06 |