private void method47(boolean flag) {
if (myPlayer.x >> 7 == destX && myPlayer.y >> 7 == destY)
destX = 0;
int j = playerCount;
if (flag)
j = 1;
for (int l = 0; l < j; l++) {
Player player;
int i1;
if (flag) {
player = myPlayer;
i1 = myPlayerIndex << 14;
} else {
player = playerArray[playerIndices[l]];
i1 = playerIndices[l] << 14;
}
if (player == null || !player.isVisible())
continue;
player.aBoolean1699 = (lowMem && playerCount > 50 || playerCount > 200) && !flag
&& player.anInt1517 == player.anInt1511;
int j1 = player.x >> 7;
int k1 = player.y >> 7;
if (j1 < 0 || j1 >= 104 || k1 < 0 || k1 >= 104)
continue;
if (player.aModel_1714 != null && loopCycle >= player.anInt1707 && loopCycle < player.anInt1708) {
player.aBoolean1699 = false;
player.anInt1709 = method42(plane, player.y, player.x);
worldController.method286(plane, player.y, player, player.anInt1552, player.anInt1722, player.x,
player.anInt1709, player.anInt1719, player.anInt1721, i1, player.anInt1720);
continue;
}
if ((player.x & 0x7f) == 64 && (player.y & 0x7f) == 64) {
if (anIntArrayArray929[j1][k1] == anInt1265)
continue;
anIntArrayArray929[j1][k1] = anInt1265;
}
player.anInt1709 = method42(plane, player.y, player.x);
worldController.method285(plane, player.anInt1552, player.anInt1709, i1, player.y, 60, player.x, player,
player.aBoolean1541);
}
}