1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-27 22:49:25 +02:00

+ Handled banning spells and artifacts

+ Rename allowedSpell => allowedSpells
This commit is contained in:
Tomasz Zieliński
2023-07-17 17:21:28 +02:00
parent fbd1d728ec
commit 025b0814c8
19 changed files with 101 additions and 44 deletions

View File

@@ -57,7 +57,7 @@ bool CGameInfoCallback::isAllowed(int32_t type, int32_t id) const
switch(type)
{
case 0:
return gs->map->allowedSpell[id];
return gs->map->allowedSpells[id];
case 1:
return gs->map->allowedArtifact[id];
case 2: