Skip to content

Commit

Permalink
Fixing ext access.
Browse files Browse the repository at this point in the history
  • Loading branch information
hohle committed Sep 10, 2024
1 parent bad8331 commit c9a4f5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/weapon/w_044.c
Original file line number Diff line number Diff line change
Expand Up @@ -228,12 +228,12 @@ void EntityWeaponAttack(Entity* self) {

self->ext.weapon_044.unk82 += 8;
self->posY.i.hi -= 8;
self->ext.timer.t = 32;
self->ext.weapon_044.lifetime = 32;
self->step++;
}
break;
case 3:
if (--self->ext.timer.t == 0) {
if (--self->ext.weapon_044.lifetime == 0) {
self->rotX = 0;
self->rotY = 0x80;
self->ext.weapon_044.unk7E = 0xA;
Expand Down

0 comments on commit c9a4f5c

Please sign in to comment.