Player doesn't disappear master
authorKyle <Kyle@92bb83a3-7c8f-8a45-bc97-515c4e399668>
Tue, 27 Apr 2010 20:31:43 +0000 (20:31 +0000)
committerKyle <Kyle@92bb83a3-7c8f-8a45-bc97-515c4e399668>
Tue, 27 Apr 2010 20:31:43 +0000 (20:31 +0000)
git-svn-id: https://bd85.net/svn/cs3505_group@171 92bb83a3-7c8f-8a45-bc97-515c4e399668

CarFire/CarFire/CarFire/AnimateMelee.cs
CarFire/CarFire/CarFire/Melee.cs

index 613c594..3fc0867 100644 (file)
@@ -393,7 +393,7 @@ namespace CarFire
             //SpriteTexture.Load(character.GraphicsDevice, contentManager, ph, 8, 12, true, row);\r
             \r
             if(changedGraphic)\r
-                SpriteTexture.Load(character.GraphicsDevice, contentManager, ph, 8, 12, true, 1);\r
+                SpriteTexture.Load(character.GraphicsDevice, contentManager, ph, 8, 12, false, 1);\r
 \r
             //viewport = graphics.GraphicsDevice.Viewport;\r
             position = new Vector2(Player.Coordinates.X*Map.PixelsToUnitSquares, Player.Coordinates.Y*Map.PixelsToUnitSquares);//viewport.Width / 2, 0);//viewport.Height / 2f);\r
index 03f5a65..791999f 100644 (file)
@@ -56,7 +56,7 @@ namespace CarFire
             Point aPosition = Game.State.Map.GetPointFromCoordinates(Motion.Position);\r
             Vector2 drawPosition = new Vector2(aPosition.X, aPosition.Y);\r
             //spriteBatch.Draw(charModel, position, Color.White);\r
-            if (isAttacking)\r
+            //if (isAttacking)\r
             animateMelee.AttackLeft(spriteBatch, drawPosition);\r
             \r
         }\r
This page took 0.023178 seconds and 4 git commands to generate.