]> git.mxchange.org Git - quix0rs-blobwars.git/commitdiff
Set vertical speed of target to zero when Aquablob recharges.
authorGuus Sliepen <guus@debian.org>
Tue, 21 Dec 2010 14:48:45 +0000 (15:48 +0100)
committerGuus Sliepen <guus@debian.org>
Tue, 21 Dec 2010 14:48:45 +0000 (15:48 +0100)
Spotted by Theodore Lee.

src/aquaBoss.cpp

index 2e50744fb219e96c0983f8a3066497c97d4a8ee9..be268638589f0d2f66c0bb2133e2aabfffcd9ac5 100644 (file)
@@ -73,7 +73,7 @@ void aquaBossRecharge()
                {
                        if (enemy->health > -100)
                        {
-                               enemy->dx = enemy->dx = 0;
+                               enemy->dx = enemy->dy = 0;
                                enemy->health = -1;
                                if (enemy->health % 10)
                                {