{
char *color[] = { "yellow", "red", "green", "blue" };
- TestPlayer = (TestPlayer + 1) % MAX_PLAYERS;
+ do
+ TestPlayer = (TestPlayer + 1) % MAX_PLAYERS;
+ while(!stored_player[TestPlayer].active);
printf("TestPlayer = %d (%s player)\n",
TestPlayer, color[TestPlayer]);
/* TEST TEST TEST */
+
+ /*
stored_player[i].active = TRUE;
+ */
+
/* TEST TEST TEST */
player->LevelSolved = FALSE;
if (StorePlayer[jx][jy] == Feld[x][y])
StorePlayer[jx][jy] = 0;
+ player->active = TRUE;
+
StorePlayer[x][y] = Feld[x][y];
Feld[x][y] = EL_LEERRAUM;
player->jx = player->last_jx = x;
{
/* TEST TEST TEST */
- if (i != TestPlayer)
+ if (i != TestPlayer && !stored_player[i].MovPos)
continue;
/* TEST TEST TEST */