mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-25 21:38:59 +02:00
commit
89b703c7c7
@ -26,7 +26,7 @@ android {
|
||||
minSdk = qtMinSdkVersion as Integer
|
||||
targetSdk = qtTargetSdkVersion as Integer // ANDROID_TARGET_SDK_VERSION in the CMake project
|
||||
|
||||
versionCode 1640
|
||||
versionCode 1642
|
||||
versionName "1.6.4"
|
||||
|
||||
setProperty("archivesBaseName", "vcmi")
|
||||
|
@ -32,9 +32,7 @@ void BattleHexArray::insert(const BattleHexArray & other) noexcept
|
||||
|
||||
void BattleHexArray::clear() noexcept
|
||||
{
|
||||
for(const auto & hex : internalStorage)
|
||||
presenceFlags[hex.toInt()] = false;
|
||||
|
||||
presenceFlags = {};
|
||||
internalStorage.clear();
|
||||
}
|
||||
|
||||
|
@ -126,7 +126,7 @@ public:
|
||||
// reinit presence flags
|
||||
presenceFlags = {};
|
||||
for(const auto & hex : internalStorage)
|
||||
presenceFlags.set(hex.toInt()) = true;
|
||||
presenceFlags.set(hex.toInt());
|
||||
}
|
||||
|
||||
void shuffle(vstd::RNG & rand)
|
||||
@ -239,7 +239,7 @@ public:
|
||||
if(!s.saving)
|
||||
{
|
||||
for(const auto & hex : internalStorage)
|
||||
presenceFlags.set(hex.toInt()) = true;
|
||||
presenceFlags.set(hex.toInt());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user