summaryrefslogtreecommitdiff
path: root/src/wm_path_manager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wm_path_manager.cpp')
-rw-r--r--src/wm_path_manager.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/wm_path_manager.cpp b/src/wm_path_manager.cpp
index f892aca..9883cac 100644
--- a/src/wm_path_manager.cpp
+++ b/src/wm_path_manager.cpp
@@ -134,7 +134,7 @@ void dWMPathManager_c::moveThroughPath() {
//save->current_world = newPage; ?
save->current_path_node = pathData.getPointID(currentPoint);
- dWMHud_c::instance->updateText();
+ dWMHud_c::instance->showPointBar();
} else {
moveToSegment(nextSegment);
}
@@ -158,6 +158,8 @@ void dWMPathManager_c::startMovementTo(WMDirection direction) {
reverseThroughPath = false;
moveToSegment(0);
}
+
+ dWMHud_c::instance->hidePointBar();
}
void dWMPathManager_c::moveToSegment(int id) {
@@ -248,8 +250,9 @@ void dWMPathManager_c::setInitialPathVisibility() {
void dWMPathManager_c::computeEvents() {
+ // TODO: Change this! Testing code!!
for (int i = 0; i < EVENT_COUNT; i++)
- events[i] = false;
+ events[i] = true;
SaveBlock *save = GetSaveFile()->GetBlock(-1);