This also has the side effect that all hostile enchantments have their
duration decreased by 1. I'm really not sure on this one...
Le 8 février 2011 23:59, Raphaël Langella <gale...@users.sourceforge.net> a
écrit :
> via 196d50646adfb66071895c9560c44ffe6863a4a1 (commit)
> from 57d621c9d0425fb26cb1e5f805a4032fd417b2ae (commit)
>
> -----------------------------------------------------------------------
> commit 196d50646adfb66071895c9560c44ffe6863a4a1
> Author: Raphael Langella <raphael.lange...@gmail.com>
> Date: Tue Feb 8 23:57:22 2011 +0100
>
> Move _decrement_durations from _player_reacts to
> _player_reacts_to_monsters
>
> The idea is that when you get the message that "You can move again.",
> it's
> actually your turn to move, not the monsters'.
> If this break anything, please revert it.
>
> -----------------------------------------------------------------------
>
> Summary of changes:
> crawl-ref/source/main.cc | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/crawl-ref/source/main.cc b/crawl-ref/source/main.cc
> index cd0c645..4344cc3 100644
> --- a/crawl-ref/source/main.cc
> +++ b/crawl-ref/source/main.cc
> @@ -2749,8 +2749,6 @@ static void _player_reacts()
>
> you.check_clinging();
>
> - _decrement_durations();
> -
> int capped_time = you.time_taken;
> if (you.walking && capped_time > BASELINE_DELAY)
> capped_time = BASELINE_DELAY;
> @@ -2790,6 +2788,8 @@ static void _player_reacts_to_monsters()
> (2 * BASELINE_DELAY), true);
>
> handle_starvation();
> +
> + _decrement_durations();
> }
>
> static void _update_golubria_traps()
>
> --
> Dungeon Crawl Stone Soup
>
>
> ------------------------------------------------------------------------------
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> _______________________________________________
> Crawl-ref-commits mailing list
> crawl-ref-comm...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/crawl-ref-commits
>
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Crawl-ref-discuss mailing list
Crawl-ref-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/crawl-ref-discuss