]> Dogcows Code - chaz/carfire/commitdiff
insert missing semicolon
authorCharles <Charles@92bb83a3-7c8f-8a45-bc97-515c4e399668>
Mon, 19 Apr 2010 21:56:25 +0000 (21:56 +0000)
committerCharles <Charles@92bb83a3-7c8f-8a45-bc97-515c4e399668>
Mon, 19 Apr 2010 21:56:25 +0000 (21:56 +0000)
git-svn-id: https://bd85.net/svn/cs3505_group@117 92bb83a3-7c8f-8a45-bc97-515c4e399668

CarFire/CarFire/CarFire/MovementManager.cs

index befeb4b62828f6bac4c74ee24df02c35abafaef8..10f6ba22f85d8e1326522aad7638d8ac2a9538d9 100644 (file)
@@ -117,7 +117,7 @@ namespace CarFire
             float passedTime = (float)timeSpan.TotalSeconds;\r
 \r
             bool requestMove = (moveLeft ^ moveRight) || (moveUp ^ moveDown);\r
-            if (!IsMoving && requestMove)\r
+            if (!mIsMoving && requestMove)\r
             {\r
                 mTimeAccumulator = passedTime;\r
                 \r
@@ -127,7 +127,7 @@ namespace CarFire
 \r
                 RecalculatePosition(mTimeAccumulator / mInverseSpeed);\r
             }\r
-            else if (IsMoving)\r
+            else if (mIsMoving)\r
             {\r
                 mTimeAccumulator += passedTime;\r
 \r
@@ -236,7 +236,7 @@ namespace CarFire
         Point mLastCoordinates;         // Last position on the grid.\r
         float mInverseSpeed;            // The time it takes to move from one cell to another.\r
         float mTimeAccumulator;         // Amount of time passed since last move.\r
-        bool mIsMoving                  // Whether or not it is currently in the process of moving.\r
+        bool mIsMoving;                 // Whether or not it is currently in the process of moving.\r
         Direction mDirection;           // The direction the object is facing.\r
 \r
         #endregion\r
This page took 0.021207 seconds and 4 git commands to generate.