So I'm trying to give all of the cities of loopPlayer to pPlayer. But for some reason the code produces an unidentifiable C++ exception on the acquireCity line.
Does anyone have an idea what's wrong?
Code:
for iCity in range(loopPlayer.getNumCities()):
loopCity = loopPlayer.getCity(iCity);
pPlayer.acquireCity(loopCity, False, False);
Does anyone have an idea what's wrong?