| summaryrefslogtreecommitdiff | 
diff options
| author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2018-06-18 21:30:03 +0200 | 
|---|---|---|
| committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2018-06-18 21:30:03 +0200 | 
| commit | b257cbdf6a26660def8cd5c4d7f22bc81d8c10d7 (patch) | |
| tree | 8a3ae5159deab654e223b53202b0229495a69ad3 /src/battlemap/struct | |
| parent | b251f5165ea3530747657b522773c4a8f44b16fa (diff) | |
Possibly fixes negative number error, wrong range.
But I apparently forgot a file in the last commit...
Diffstat (limited to 'src/battlemap/struct')
| -rw-r--r-- | src/battlemap/struct/bm_tile.erl | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/battlemap/struct/bm_tile.erl b/src/battlemap/struct/bm_tile.erl index 36c22dc..f8ce633 100644 --- a/src/battlemap/struct/bm_tile.erl +++ b/src/battlemap/struct/bm_tile.erl @@ -58,7 +58,7 @@ class_id_to_type_id (ClassID) ->        0 -> 0;        1 -> 1;        2 -> 2; -      N when ((N >= 3) and (N =< 16)) -> 3 +      N when ((N >= 3) and (N =< 17)) -> 3     end.  -spec from_id (id()) -> type(). | 


