summaryrefslogtreecommitdiff
path: root/src/textual.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/textual.cc')
-rw-r--r--src/textual.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/textual.cc b/src/textual.cc
index eea79de0..156e2b9c 100644
--- a/src/textual.cc
+++ b/src/textual.cc
@@ -1578,6 +1578,8 @@ post_t * instance_t::parse_post(char * line,
if (fixed_cost)
post->add_flags(POST_COST_FIXATED);
+ post->given_cost = post->cost;
+
DEBUG("textual.parse", "line " << context.linenum << ": "
<< "Total cost is " << *post->cost);
DEBUG("textual.parse", "line " << context.linenum << ": "