From 6c431528845262d8a479e5dcaf9517b97cc4d7fc Mon Sep 17 00:00:00 2001 From: giersch Date: Wed, 21 Nov 2007 12:11:41 +0000 Subject: [PATCH] . --- chateaux/chateaux.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/chateaux/chateaux.cpp b/chateaux/chateaux.cpp index b6c26e2..de2f469 100644 --- a/chateaux/chateaux.cpp +++ b/chateaux/chateaux.cpp @@ -292,12 +292,12 @@ int jeu1(DrawingWindow& w) alpha = deg2rad(alpha); float x0; if (joueur == 1) { - x0 = positionChateau1 + 8; + x0 = positionChateau1 + 0.8 * largeurChateau; } else { - x0 = positionChateau2 - 8; + x0 = positionChateau2 - 0.8 * largeurChateau; alpha = PI - alpha; } - float y0 = 8; + float y0 = hauteurChateau + 1; perdant = tir(w, x0, y0, v0, alpha, x, y); dessineExplosion(w, x, y); dessineVent(w, wnd); -- 2.20.1