summaryrefslogtreecommitdiff
path: root/menuchoixpersos.c
diff options
context:
space:
mode:
Diffstat (limited to 'menuchoixpersos.c')
-rw-r--r--menuchoixpersos.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/menuchoixpersos.c b/menuchoixpersos.c
index f1df0a1..a41d548 100644
--- a/menuchoixpersos.c
+++ b/menuchoixpersos.c
@@ -55,6 +55,7 @@ void Fmenuchoixpersos (SURFACES *surfaces, POSITIONS *positions)
switch (event.key.keysym.sym)
{
case SDLK_LEFT:
+ case SDLK_h:
if(Vchoix>PALADIN)
{
Vchoix--;
@@ -67,6 +68,7 @@ void Fmenuchoixpersos (SURFACES *surfaces, POSITIONS *positions)
}
break;
case SDLK_RIGHT:
+ case SDLK_l:
if (Vchoix<VOLEUR)
{
Vchoix++;
@@ -79,6 +81,7 @@ void Fmenuchoixpersos (SURFACES *surfaces, POSITIONS *positions)
}
break;
case SDLK_RETURN:
+ case SDLK_f:
Fremplirpersos (Vchoix,persos,Vnbperso);
Vnbperso++;
continuer=0;