浏览代码

Fixed GetObj (TRADING_POST) incorrectly set to elementar.

DJWarmonger 7 年之前
父节点
当前提交
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));
 			}
 		}
 	}