You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The trouble is, world is still uninitialized because world is initialized in, for example, bzfs.cxx:1128
BZWReader* reader = new BZWReader(std::string(worldData.worldFile.c_str()));
world = reader->defineWorldFromFile();
delete reader;
Likely, this doesn't crash because world->addWall() doesn't actually attempt to access any instance data, and instead just adds walls to the global obstacle manager.
The text was updated successfully, but these errors were encountered:
BZWReader.cxx:499 inside
WorldInfo* BZWReader::defineWorldFromFile()
:makeWalls() is global and defined in bzfs.cxx:
The trouble is,
world
is still uninitialized becauseworld
is initialized in, for example, bzfs.cxx:1128Likely, this doesn't crash because
world->addWall()
doesn't actually attempt to access any instance data, and instead just adds walls to the global obstacle manager.The text was updated successfully, but these errors were encountered: