Skip to content

Commit

Permalink
Tweak weight for Crawl whereis info.
Browse files Browse the repository at this point in the history
  • Loading branch information
greensnark committed Mar 27, 2011
1 parent b37bf8e commit 5e96465
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/crawl-inotify-dglwhere.pl
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ ($)
my $w = shift;
# No more than 18 characters, empty string for saved/dead characters:
return '' if $$w{status} ne 'active';
my $weight = $$w{xl} + $$w{lvl} * 2;
my $weight = $$w{xl} * 100 + $$w{lvl};
sprintf("$weight|%-3s $$w{char}, $$w{place}",
"L$$w{xl}")
}
Expand Down

0 comments on commit 5e96465

Please sign in to comment.