[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Adonthell-commits] wastesedge/scripts/schedules/mapcharacters to_c...
From: |
Kai Sterker |
Subject: |
[Adonthell-commits] wastesedge/scripts/schedules/mapcharacters to_c... |
Date: |
Tue, 03 May 2016 21:03:24 +0000 |
CVSROOT: /sources/adonthell
Module name: wastesedge
Changes by: Kai Sterker <ksterker> 16/05/03 21:03:24
Modified files:
scripts/schedules/mapcharacters: to_cellar.py
Log message:
FIXED deadlock during extro
After carefully analysing the code, it seems that pathfinding can fail
to
ever reach the goal under the following condition:
a new goal is set while the character is walking and thus offx_ or offy_
are not 0.
In that case mapcharacter::follow_path always returns false. And then
Bjarn
never makes it to his chest and the extro will hang indefinitely.
While the proper fix might be in mapcharacter::set_goal, for now just
reset the offsets to 0 once the final dialogue starts. Less likely to
break other things that way.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/wastesedge/scripts/schedules/mapcharacters/to_cellar.py?cvsroot=adonthell&r1=1.11&r2=1.12
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Adonthell-commits] wastesedge/scripts/schedules/mapcharacters to_c...,
Kai Sterker <=