mirror of
https://github.com/vcmi/vcmi.git
synced 2025-12-01 23:12:49 +02:00
Fixed minor issues discovered during testing
This commit is contained in:
@@ -194,7 +194,8 @@ MapAudioPlayer::MapAudioPlayer()
|
||||
objects.resize(boost::extents[mapSize.z][mapSize.x][mapSize.y]);
|
||||
|
||||
for(const auto & obj : CGI->mh->getMap()->objects)
|
||||
addObject(obj);
|
||||
if (obj)
|
||||
addObject(obj);
|
||||
}
|
||||
|
||||
MapAudioPlayer::~MapAudioPlayer()
|
||||
|
||||
Reference in New Issue
Block a user