Skip to content
Snippets Groups Projects
Commit 33b82365 authored by Montjoie Henri's avatar Montjoie Henri
Browse files

correctionn d'une petite erreur de mon precedent commit

parent e3194bfc
No related branches found
No related tags found
No related merge requests found
......@@ -210,9 +210,6 @@ int saisie_noms_joueurs()
}
if(strlen(nom_joueur2)>1) {nom_joueur2[strlen(nom_joueur2)-1]=NULL;}
ajouterUnJoueur(nom_joueur1,&etat);
ajouterUnJoueur(nom_joueur2,&etat);
nom_1=nom_joueur1;
nom_2=nom_joueur2;
......@@ -230,6 +227,8 @@ int saisie_noms_joueurs()
*/
int affichage_ecran_accueil()
{
ajouterUnJoueur(nom_joueur1,&etat);
ajouterUnJoueur(nom_joueur2,&etat);
etat=LANCEMENT;
SDL_Surface* ecran = SDL_SetVideoMode(LARGEUR_CARTE*(LARGEUR_CASE+1), HAUTEUR_CARTE*(HAUTEUR_CASE+2), 32, SDL_HWSURFACE|SDL_DOUBLEBUF);
SDL_WM_SetCaption("Elder Internal Ignition",NULL);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment