2
0
Эх сурвалжийг харах

Fixed GetObj (TRADING_POST) incorrectly set to elementar.

DJWarmonger 7 жил өмнө
parent
commit
e7cb8d7d17
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      AI/VCAI/Goals.cpp

+ 1 - 1
AI/VCAI/Goals.cpp

@@ -1082,7 +1082,7 @@ TSubgoal Goals::CollectRes::whatToDoToTrade()
 				if (m->o->ID == Obj::TOWN) //just trade remotely using town objid
 					return sptr(setobjid(objid).setisElementar(true));
 				else //just go there
-					return sptr(Goals::GetObj(objid).setisElementar(true));
+					return sptr(Goals::GetObj(objid));
 			}
 		}
 	}