T ThorHammerz zzz Joined Jul 31, 2014 Messages 836 Feb 1, 2015 #1 Hi all! Is it possible to pull the data of the origin city from a TradeConnection* pConnection?
T ThorHammerz zzz Joined Jul 31, 2014 Messages 836 Feb 1, 2015 #2 Nevermind, I found it (That was fast, I feel like an idiot for asking now ). For those interested, Code: iX = kTradeConnection.m_iOriginX; iY = kTradeConnection.m_iOriginY; CvPlot* pPlot = GC.getMap().plot(iX, iY); CvCity* pCity = pPlot->getPlotCity();
Nevermind, I found it (That was fast, I feel like an idiot for asking now ). For those interested, Code: iX = kTradeConnection.m_iOriginX; iY = kTradeConnection.m_iOriginY; CvPlot* pPlot = GC.getMap().plot(iX, iY); CvCity* pCity = pPlot->getPlotCity();