Skip to content

Commit da45cac

Browse files
Merge pull request #10 from somepersononthenet/main
power bomp recreation
2 parents 4236031 + f98bbeb commit da45cac

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

include/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#define BORDER_HEIGHT 2
2121

2222
// POW Build
23-
#define POWBUILD
23+
//#define POWBUILD
2424

2525
// Debug Build
2626
#define DEBUG

src/game/behaviors/bomp.inc.c

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,11 @@ void bhv_small_bomp_loop(void) {
2727

2828
if (o->oTimer == 15.0) {
2929
o->oAction = BOMP_ACT_EXTEND;
30+
#ifdef POWBUILD
3031
o->oForwardVel = 40.0f;
32+
#else
33+
o->oForwardVel = 32.0f;
34+
#endif
3135
}
3236
break;
3337

@@ -36,8 +40,12 @@ void bhv_small_bomp_loop(void) {
3640
o->oPosX = 3830.0f;
3741
o->oForwardVel = 0;
3842
}
39-
40-
if (o->oTimer == 60) {
43+
#ifdef POWBUILD
44+
if (o->oTimer == 60)
45+
#else
46+
if (o->oTimer == 16.0)
47+
#endif
48+
{
4149
o->oAction = BOMP_ACT_RETRACT;
4250
o->oForwardVel = 10.0f;
4351
o->oMoveAngleYaw -= 0x8000;

0 commit comments

Comments
 (0)