summaryrefslogtreecommitdiff |
diff options
Diffstat (limited to 'src/shared/struct/shr_weapon.erl.m4')
-rw-r--r-- | src/shared/struct/shr_weapon.erl.m4 | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/shared/struct/shr_weapon.erl.m4 b/src/shared/struct/shr_weapon.erl.m4 index ccda881..f15922c 100644 --- a/src/shared/struct/shr_weapon.erl.m4 +++ b/src/shared/struct/shr_weapon.erl.m4 @@ -3,7 +3,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% TYPES %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% --type id() :: non_neg_integer(). +-type id() :: binary(). -record ( @@ -39,7 +39,6 @@ -export ( [ - random_id/0, none/0, from_id/1 ] @@ -75,7 +74,4 @@ from_id (_) -> none(). -spec none () -> type(). -none () -> from_id(0). - --spec random_id () -> id(). -random_id () -> shr_roll:between(0, 24). +none () -> from_id(<<"0">>). |