Differences From Artifact [f00a1d74b4]:
- File src/Monster.m — part of check-in [6259424802] at 2025-03-23 21:31:55 on branch trunk — Remove vdist (user: js, size: 13403) [annotate] [blame] [check-ins using]
To Artifact [df6f0d84fe]:
- File
src/Monster.m
— part of check-in
[304230c1e1]
at
2025-03-23 21:52:54
on branch trunk
— Avoid pointless pointers
Passing OFVector3D by reference is annoying and is worse at passing via registers. (user: js, size: 13359) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
329 330 331 332 333 334 335 | case M_AIMING: // this state is the delay between wanting to shoot and actually // firing if (self.trigger < lastmillis) { self.lastAction = 0; self.attacking = true; | | < | 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 | case M_AIMING: // this state is the delay between wanting to shoot and actually // firing if (self.trigger < lastmillis) { self.lastAction = 0; self.attacking = true; shoot(self, self.attackTarget); [self transitionWithState:M_ATTACKING moving:0 n:600 r:0]; } break; |
︙ | ︙ |