--- deliantra/Deliantra-Client/DC/MapWidget.pm 2006/04/24 11:45:17 1.13 +++ deliantra/Deliantra-Client/DC/MapWidget.pm 2006/04/24 13:01:13 1.15 @@ -1,6 +1,7 @@ package CFClient::MapWidget; use strict; +use utf8; use List::Util qw(min max); @@ -216,6 +217,8 @@ if ($sym == CFClient::SDLK_KP5) { $::CONN->user_send ("stay fire"); + } elsif ($sym == ord ",") { + $::CONN->user_send ("take"); } elsif ($sym == ord "a") { $::CONN->user_send ("apply"); } elsif ($sym == ord "'") { @@ -319,7 +322,7 @@ for (@$command) { if ($_->[0] =~ $search_abbrev) { push @found, [$_->[0], $_]; - } elsif ($_[1] =~ $search_full) { + } elsif ($_->[1] =~ $search_full) { push @found, [$_->[1], $_]; } }