mirror of https://github.com/nmlgc/ReC98.git
[Maintenance] Point out that player_invincible_via_bomb is exclusive to TH02
Will make it easier to comprehend that the bullet update function is actually correct with regards to only looking at a single variable. (Yes, I know, hard to believe!) Part of P0149, funded by Blue Bolt, Ember2528, and -Tom-.
This commit is contained in:
parent
6233a3c3e3
commit
a99cda80fd
|
@ -2,9 +2,11 @@
|
|||
#define PLAYER_H 48
|
||||
|
||||
// Grants invincibility when >0. Decrements by 1 each frame in that case.
|
||||
// Works independently from [player_invincible_via_bomb].
|
||||
// In TH02, this works independently from [player_invincible_via_bomb].
|
||||
extern unsigned char player_invincibility_time;
|
||||
|
||||
// Grants invincibility as long as it's true. Works independently from
|
||||
// [player_invincibility_time].
|
||||
extern bool player_invincible_via_bomb;
|
||||
#if (GAME == 2)
|
||||
// Grants invincibility as long as it's true. Works independently from
|
||||
// [player_invincibility_time].
|
||||
extern bool player_invincible_via_bomb;
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue