mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-25 21:38:59 +02:00
Fix build
This commit is contained in:
parent
723734fd04
commit
85863dbed6
@ -69,7 +69,6 @@
|
||||
<Add option="-Wno-sign-compare" />
|
||||
<Add option="-Wno-unused-parameter" />
|
||||
<Add option="-Wno-overloaded-virtual" />
|
||||
<Add option="-fpermissive" />
|
||||
<Add option="-isystem $(#boost.include)" />
|
||||
<Add option="-DBOOST_THREAD_USE_LIB" />
|
||||
<Add option="-DBOOST_SYSTEM_NO_DEPRECATED" />
|
||||
|
@ -401,10 +401,10 @@ void CSpellWindow::computeSpellsPerArea()
|
||||
std::vector<SpellID> spellsCurSite;
|
||||
for(const SpellID & spellID : mySpells)
|
||||
{
|
||||
CSpell * s = spellID.toSpell();
|
||||
const CSpell * s = spellID.toSpell();
|
||||
|
||||
if(s->combatSpell ^ !battleSpellsOnly
|
||||
&& ((selectedTab == 4) || (s->school[(ESpellSchool)selectedTab]))
|
||||
&& ((selectedTab == 4) || s->school.at((ESpellSchool)selectedTab))
|
||||
)
|
||||
{
|
||||
spellsCurSite.push_back(spellID);
|
||||
|
Loading…
x
Reference in New Issue
Block a user