mise à jour
This commit is contained in:
@@ -72,7 +72,7 @@ int** deplacement(int* p, int timer) {
|
||||
|
||||
if (TouchEnAttente() == 1) {
|
||||
|
||||
if (Touche() == "XK_Left") {
|
||||
if (Touche() == XK_Left) {
|
||||
|
||||
p[tete[0]][tete[1]] = 0;
|
||||
|
||||
@@ -84,7 +84,7 @@ int** deplacement(int* p, int timer) {
|
||||
|
||||
}
|
||||
|
||||
if (Touch() == "XK_Right") {
|
||||
if (Touch() == XK_Right) {
|
||||
|
||||
p[tete[0]][tete[1]] = 0;
|
||||
|
||||
@@ -96,7 +96,7 @@ int** deplacement(int* p, int timer) {
|
||||
|
||||
}
|
||||
|
||||
if (Touch() == "XK_Up") {
|
||||
if (Touch() == XK_Up") {
|
||||
|
||||
p[tete[0]][tete[1]] = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user