summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornsensfel <SpamShield0@noot-noot.org>2018-07-13 16:09:18 +0200
committernsensfel <SpamShield0@noot-noot.org>2018-07-13 16:09:18 +0200
commitdde8ae8205d9eadce804085b4d95d7d8ef16cb25 (patch)
tree3b1359ed64b04b621bbfe0dd833ceb6657f43a95 /weapon/global.m4.conf
parentea725eaeda94d47b4d1e4cf5cc0029f3d99760f9 (diff)
Fixes the "TO_CHAR" macros.
Diffstat (limited to 'weapon/global.m4.conf')
-rw-r--r--weapon/global.m4.conf8
1 files changed, 4 insertions, 4 deletions
diff --git a/weapon/global.m4.conf b/weapon/global.m4.conf
index 4e6fbd9..d733be0 100644
--- a/weapon/global.m4.conf
+++ b/weapon/global.m4.conf
@@ -11,10 +11,10 @@ m4_define(`__WEAPON_ERLANG_STYLE',`from_id (`$1') ->
coef = $7
};
')m4_dnl
-m4_define(`__WEAPON_RANGE_TYPE_TO_CHAR',m4_ifelse($1,melee,m,$1,ranged,r))m4_dnl
-m4_define(`__WEAPON_RANGE_MOD_TO_CHAR',m4_ifelse($1,long,l,$1,short,s))m4_dnl
-m4_define(`__WEAPON_DAMAGE_TYPE_TO_CHAR',m4_ifelse($1,slash,s,$1,pierce,p,$1,blunt,b))m4_dnl
-m4_define(`__WEAPON_DAMAGE_MOD_TO_CHAR',m4_ifelse($1,heavy,h,$1,light,l))m4_dnl
+m4_define(`__WEAPON_RANGE_TYPE_TO_CHAR',`m4_ifelse($1,melee,m,$1,ranged,r)')m4_dnl
+m4_define(`__WEAPON_RANGE_MOD_TO_CHAR',`m4_ifelse($1,long,l,$1,short,s)')m4_dnl
+m4_define(`__WEAPON_DAMAGE_TYPE_TO_CHAR',`m4_ifelse($1,slash,s,$1,pierce,p,$1,blunt,b)')m4_dnl
+m4_define(`__WEAPON_DAMAGE_MOD_TO_CHAR',`m4_ifelse($1,heavy,h,$1,light,l)')m4_dnl
m4_define(`__WEAPON_JSON_STYLE',` {
"msg": "add_weapon",
"id": $1,