diff options
author | Darshan Shaligram <dshaligram@users.sourceforge.net> | 2010-12-24 22:50:27 +0530 |
---|---|---|
committer | Darshan Shaligram <dshaligram@users.sourceforge.net> | 2010-12-24 22:52:02 +0530 |
commit | 11fc1d9aebae3917c8dd2403dc371cb83becb3b9 (patch) | |
tree | 9786976c084f6583d66f34c53a413a2043f6dfec /crawl-ref/source/prebuilt | |
parent | 79ded102a18278ab152b03d1e0860122baeb0401 (diff) | |
download | crawl-ref-11fc1d9aebae3917c8dd2403dc371cb83becb3b9.tar.gz crawl-ref-11fc1d9aebae3917c8dd2403dc371cb83becb3b9.zip |
Update canned level compiler with WEIGHT fix.
Diffstat (limited to 'crawl-ref/source/prebuilt')
-rw-r--r-- | crawl-ref/source/prebuilt/levcomp.tab.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/prebuilt/levcomp.tab.cc b/crawl-ref/source/prebuilt/levcomp.tab.cc index 3bb8e6837f..880106aa82 100644 --- a/crawl-ref/source/prebuilt/levcomp.tab.cc +++ b/crawl-ref/source/prebuilt/levcomp.tab.cc @@ -2608,7 +2608,7 @@ yyreduce: lc_map.main.add( yylineno, make_stringf("depth_weight(\"%s\", %d)", - quote_lua_string((yyvsp[(2) - (2)].text)), (yyvsp[(1) - (2)].f))); + quote_lua_string((yyvsp[(2) - (2)].text)), (int)(yyvsp[(1) - (2)].f))); } break; @@ -2619,7 +2619,7 @@ yyreduce: { lc_map.main.add( yylineno, - make_stringf("weight(%d)", (yyvsp[(1) - (1)].f))); + make_stringf("weight(%d)", (int)(yyvsp[(1) - (1)].f))); } break; |