summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/util/columnise-credits.pl
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2011-12-28 12:27:57 -0500
committerNeil Moore <neil@s-z.org>2011-12-28 12:52:57 -0500
commitb879844085a0867dbab9c7fe0e3f2c1d355480d6 (patch)
treeed5ee1de90b228a8c145e35f6eb1112f2c461447 /crawl-ref/source/util/columnise-credits.pl
parent5db6206e8ddd9ac9ad79c9b5bda1fb63e2693cd3 (diff)
downloadcrawl-ref-b879844085a0867dbab9c7fe0e3f2c1d355480d6.tar.gz
crawl-ref-b879844085a0867dbab9c7fe0e3f2c1d355480d6.zip
Merge more duplicated constriction code.
clear_specific_constrictions() and is_constricted() were identical for players and monsters, so remove them from subclasses and add them to the actor base class (is_constricted() was already in actor, anyway). is_constricted_larger() should have been identical; do the same (and simplify somewhat).
Diffstat (limited to 'crawl-ref/source/util/columnise-credits.pl')
-rwxr-xr-xcrawl-ref/source/util/columnise-credits.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/util/columnise-credits.pl b/crawl-ref/source/util/columnise-credits.pl
index 7064bb6754..5ee9ed262f 100755
--- a/crawl-ref/source/util/columnise-credits.pl
+++ b/crawl-ref/source/util/columnise-credits.pl
@@ -10,6 +10,7 @@ my $CREDITS = $ARGV[0] || 'CREDITS.txt';
my $NAMEHEAD = qr/contributed to .*Stone Soup:\s*$/;
my $COLLATOR = Unicode::Collate->new();
+exit 1;
binmode STDOUT, ':utf8';
open my $inf, '<:utf8', $CREDITS