Originally posted by Martin Gühmann
But that isn't a problem of the Playtest only.
But that isn't a problem of the Playtest only.
Code:
player[0] = city[0].owner; if (IsHumanPlayer(player[0]) ...
. And warns you not try to modify this code at home. When you insert another statement between the 2 lines, it suddenly may stop working as intended, and may even cause a crash to desktop (though probably not with this particular example).With the playtest release, the condition will never be executed, because the invalid player[0] reference is replaced with 0 (= barbarians, when interpreted as a player).
Of course, the best solution is to correct the Slic code and use
Code:
if (IsHumanPlayer(city[0].owner) ...
.
Comment