mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-06 00:55:50 +00:00
Fix unsafe memory access at object.cpp
This commit is contained in:
parent
f0063f6100
commit
6869fa18e4
@ -107,6 +107,7 @@
|
||||
Bug #6606: Quests with multiple IDs cannot always be restarted
|
||||
Bug #6655: Constant effect absorb attribute causes the game to break
|
||||
Bug #6670: Dialogue order is incorrect
|
||||
Bug #6680: object.cpp handles nodetree unsafely, memory access with dangling pointer
|
||||
Feature #890: OpenMW-CS: Column filtering
|
||||
Feature #1465: "Reset" argument for AI functions
|
||||
Feature #2491: Ability to make OpenMW "portable"
|
||||
|
@ -164,7 +164,7 @@ void Objects::removeCell(const MWWorld::CellStore* store)
|
||||
|
||||
void Objects::updatePtr(const MWWorld::Ptr &old, const MWWorld::Ptr &cur)
|
||||
{
|
||||
osg::Node* objectNode = cur.getRefData().getBaseNode();
|
||||
osg::ref_ptr<osg::Node> objectNode = cur.getRefData().getBaseNode();
|
||||
if (!objectNode)
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user