|
|
|
@ -1045,8 +1045,8 @@ private:
|
|
|
|
|
debug() << "animals:" << endl;
|
|
|
|
|
mPile->settings.animals.empty_cages = mBuffer.animals().empty_cages();
|
|
|
|
|
mPile->settings.animals.empty_traps = mBuffer.animals().empty_traps();
|
|
|
|
|
if ( mBuffer.animals().enabled_size() > 0 )
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
mPile->settings.animals.enabled.clear();
|
|
|
|
|
mPile->settings.animals.enabled.resize ( world->raws.creatures.all.size(), '\0' );
|
|
|
|
|
debug() << " pile has " << mPile->settings.animals.enabled.size() << endl;
|
|
|
|
|
for ( auto i = 0; i < mBuffer.animals().enabled_size(); ++i )
|
|
|
|
@ -1063,12 +1063,6 @@ private:
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
mPile->settings.animals.enabled.clear();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
mPile->settings.animals.enabled.clear();
|
|
|
|
|
mPile->settings.flags.bits.animals = 0;
|
|
|
|
|