mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-23 00:28:08 +02:00
Fix incorrect templates for mines in HoTA
This commit is contained in:
committed by
Andrii Danylchenko
parent
238dabe060
commit
8c481dff46
@ -490,6 +490,7 @@ bool ObjectManager::addGuard(rmg::Object & object, si32 strength, bool zoneGuard
|
||||
|
||||
auto & instance = object.addInstance(*guard);
|
||||
instance.setPosition(guardPos - object.getPosition());
|
||||
instance.setAnyTemplate(); //terrain is irrelevant for monsters, but monsters need some template now
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user