diff options
Diffstat (limited to 'src/brothers.zig')
-rw-r--r-- | src/brothers.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/brothers.zig b/src/brothers.zig index f29895e..ddd0903 100644 --- a/src/brothers.zig +++ b/src/brothers.zig @@ -50,6 +50,7 @@ pub const Brother = struct { pub fn resetRound(self: *Brother) void { self.x = utils.startingX[@enumToInt(self.side)]; self.y = 160; + self.vy = 0; } pub fn update(self: *Brother, gamepad: inputs.Gamepad) void { if (gamepad.held.left and self.x > utils.leftLimit[@enumToInt(self.side)]) |