src/ai/default/default.cpp
changeset 10229 fba3f9fa44d7
parent 10222 b6919c94cc77
child 10230 bf81856a1101
equal deleted inserted replaced
10228:a9b95e8981d6 10229:fba3f9fa44d7
  3993 		};
  3993 		};
  3994 
  3994 
  3995 		if (_players_ai[p->index].state != old_state) {
  3995 		if (_players_ai[p->index].state != old_state) {
  3996 			if (hasdots)
  3996 			if (hasdots)
  3997 				printf("\n");
  3997 				printf("\n");
  3998 			hasdots=false;
  3998 			hasdots = false;
  3999 			printf("AiState: %s\n", _ai_state_names[old_state=_players_ai[p->index].state]);
  3999 			printf("AiState: %s\n", _ai_state_names[old_state=_players_ai[p->index].state]);
  4000 		} else {
  4000 		} else {
  4001 			printf(".");
  4001 			printf(".");
  4002 			hasdots=true;
  4002 			hasdots = true;
  4003 		}
  4003 		}
  4004 	}
  4004 	}
  4005 #endif
  4005 #endif
  4006 
  4006 
  4007 	_ai_actions[_players_ai[p->index].state](p);
  4007 	_ai_actions[_players_ai[p->index].state](p);