mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-28 08:48:48 +02:00
Fix weekly visitable check
This commit is contained in:
parent
4c0aae6fbd
commit
3b238ff15e
@ -323,13 +323,9 @@ bool isWeeklyRevisitable(const CGObjectInstance * obj)
|
||||
|
||||
if(dynamic_cast<const CGDwelling *>(obj))
|
||||
return true;
|
||||
if(dynamic_cast<const CBank *>(obj)) //banks tend to respawn often in mods
|
||||
return true;
|
||||
|
||||
switch(obj->ID)
|
||||
{
|
||||
case Obj::STABLES:
|
||||
case Obj::MAGIC_WELL:
|
||||
case Obj::HILL_FORT:
|
||||
return true;
|
||||
case Obj::BORDER_GATE:
|
||||
|
Loading…
Reference in New Issue
Block a user