TGITS-Solutions / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
1 stars 1 forks source link

Player info screen does not update while aiming #5

Open TrainTurningPoint opened 5 years ago

TrainTurningPoint commented 5 years ago

Describe the bug
The player info screen (the one containing health, current time, morale, noise, all that stuff) fails to update while the character is aiming in targeting mode, showing outdated info and refreshing only when player leaves targeting mode. That can be dangerous to player, as he can't monitor his health.

To Reproduce
Steps to reproduce the behavior:

  1. Make a player with a gun, magazine, and some ammo. Get a watch.
  2. Find an enemy, allow it to attack you, aim at it.
  3. Keep aiming for some time, ignoring notifications that you are being attacked.
  4. Notice that your health and the time on the watch do not change.
  5. Dismiss the targeting screen (by shooting or cancelling).
  6. Notice your health immediately do gown and time go up, showing all the accumulated changes.

Expected behavior
Reflect the player info screen, so it reflects the actual game state.