From 169d7ff927917f2b0bf4cc6349a483f1031960fc Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Tue, 9 Oct 2018 19:34:02 +0200 Subject: (Broken) glyphs lists, not arrays... --- src/shared/struct/shr_weapon.erl.m4 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/shared/struct/shr_weapon.erl.m4') diff --git a/src/shared/struct/shr_weapon.erl.m4 b/src/shared/struct/shr_weapon.erl.m4 index 55c2815..ccda881 100644 --- a/src/shared/struct/shr_weapon.erl.m4 +++ b/src/shared/struct/shr_weapon.erl.m4 @@ -40,6 +40,7 @@ ( [ random_id/0, + none/0, from_id/1 ] ). @@ -71,7 +72,10 @@ get_omnimods (Wp) -> Wp#weapon.omnimods. m4_include(__MAKEFILE_DATA_DIR/weapon/global.m4.conf)m4_dnl m4_include(__MAKEFILE_DATA_DIR/weapon/basic.m4d)m4_dnl from_id (_) -> - from_id(0). + none(). + +-spec none () -> type(). +none () -> from_id(0). -spec random_id () -> id(). random_id () -> shr_roll:between(0, 24). -- cgit v1.2.3-70-g09d2