Skip to content

Commit 6afdc8e

Browse files
committed
Fix the bomb jumping refill timer lines
1 parent bd042f8 commit 6afdc8e

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ Youtube video on macOS (Linux is similar): [https://www.youtube.com/watch?v=fyz6
6767

6868
## Changelog
6969

70+
### 2.3.3
71+
- Fix the bomb jump timing lines
72+
7073
### 2.3.2
7174
- Add rotational speed back as OSD option
7275
- Swap current and last room ordering

src/UI/BombJumping.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ struct BombJumpUIState {
5858

5959
void reset() {
6060
currentBomb = 0;
61+
bombRecharges = 0;
6162
frame = 0;
6263
autoJump = nullptr;
6364
}
@@ -72,8 +73,10 @@ struct BombJumpUIState {
7273
if (gun == nullptr) return;
7374

7475
if (gun->x35c_bombTime() <= 0 && !justRecharged) {
75-
bombRechargeTiming[bombRecharges] = frame;
76-
bombRecharges++;
76+
if (bombRecharges < BombMax) {
77+
bombRechargeTiming[bombRecharges] = frame;
78+
bombRecharges++;
79+
}
7780
justRecharged = true;
7881
} else if (gun->x35c_bombTime() > 0) {
7982
justRecharged = false;

src/version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
#define PRAC_MOD_VERSION "2.3.2"
1+
#define PRAC_MOD_VERSION "2.3.3"

0 commit comments

Comments
 (0)