summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/util
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-11-02 17:52:26 +0100
committerAdam Borowski <kilobyte@angband.pl>2013-11-02 17:52:26 +0100
commit1b5a2c568c8f8e45ab1c8e1e8df5b3ad6afe0ed7 (patch)
treedfb719d4b4d71ce8f4e25c4d5ccaeeda3a83e565 /crawl-ref/source/util
parent540a5263df9e10bdb0d9982d6d624c171e5fb56e (diff)
downloadcrawl-ref-1b5a2c568c8f8e45ab1c8e1e8df5b3ad6afe0ed7.tar.gz
crawl-ref-1b5a2c568c8f8e45ab1c8e1e8df5b3ad6afe0ed7.zip
Unbreak clang builds (broken by 0.14-a0-376-gd247091).
Not sure if oldest supported gcc has the .field=value syntax; if not, we can either #ifdef it with field:value, or sacrifice that pointer per unrand and just have them separate.
Diffstat (limited to 'crawl-ref/source/util')
-rwxr-xr-xcrawl-ref/source/util/art-data.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/util/art-data.pl b/crawl-ref/source/util/art-data.pl
index 811ddc9b69..d4267a2fca 100755
--- a/crawl-ref/source/util/art-data.pl
+++ b/crawl-ref/source/util/art-data.pl
@@ -199,7 +199,7 @@ sub finish_art
if ($funcs->{$func_name})
{
$artefact->{"fight_func_func"} =
- $func_name . ": _${enum}_" . $funcs->{$func_name};
+ ".$func_name = _${enum}_$funcs->{$func_name}";
}
}