DjWarmonger 10 rokov pred
rodič
commit
3cc9705bfe
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      lib/rmg/CRmgTemplateZone.cpp

+ 1 - 1
lib/rmg/CRmgTemplateZone.cpp

@@ -2263,7 +2263,7 @@ void CRmgTemplateZone::addAllPossibleObjects(CMapGenerator* gen)
 
 		for (auto cre : VLC->creh->creatures)
 		{
-			if (cre->faction == townType)
+			if (!cre->special && cre->faction == townType)
 			{
 				creatures.push_back(cre);
 			}