1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00

Fix weekly visitable check

This commit is contained in:
Tomasz Zieliński 2023-08-01 09:54:35 +02:00 committed by Andrii Danylchenko
parent 4c0aae6fbd
commit 3b238ff15e

View File

@ -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: