Browse Source

............oh

Getty Ritter 4 years ago
parent
commit
7899490f9b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/com.rs

+ 1 - 1
src/com.rs

@@ -42,7 +42,7 @@ impl Position {
     pub fn moved(&self, vel: &Velocity) -> Position {
         Position {
             x: self.x + vel.dx,
-            y: self.x + vel.dy,
+            y: self.y + vel.dy,
         }
     }
 }