mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Fix weekly visitable check
This commit is contained in:
committed by
Andrii Danylchenko
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:
|
||||
|
Reference in New Issue
Block a user