Commit 36f26d24 authored by sam.pople's avatar sam.pople

update2

parent 4e382470
......@@ -85,7 +85,7 @@ PlayerNode* FindPlayer(PlayerNode* playerhead, char playername[20])
return current;
}
}
return 0;
return NULL;
}
//This adds a new Pokemon to the Pokemon list
void AddPokemonToList(Pokedex* pokedexpointer, char pokename[20], char poketype[20], char pokeability[50])
......@@ -173,7 +173,7 @@ void DisplayPlayerDetails(Pokedex* pokedexpointer, char playername[20])
{
if (current->numofpokemon > 0)
{
for (int x = 0; x < current->numofpokemon; x++)
for (int x=0; x < current->numofpokemon; x++)
{
printf(" %s\n", current->PokemonArray[x]->name);
}
......
No preview for this file type
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment