… | … | ||
---|---|---|---|
65 | } | 65 | } |
66 | 66 | ||
67 | sub start_game { | 67 | sub start_game { |
68 | status "logging in..."; | 68 | status "logging in..."; |
69 | 69 | ||
70 | my $mapsize = List::Util::min 64, List::Util::max 11, int $WIDTH * $CFG->{mapsize} * 0.01 / 32; | 70 | my $mapsize = List::Util::min 32, List::Util::max 11, int $WIDTH * $CFG->{mapsize} * 0.01 / 32; |
71 | 71 | ||
72 | $MAP = new CFClient::Map $mapsize, $mapsize; | 72 | $MAP = new CFClient::Map $mapsize, $mapsize; |
73 | 73 | ||
74 | $CONN = new conn | 74 | $CONN = new conn |
75 | host => $CFG->{host}, | 75 | host => $CFG->{host}, |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |