[nexuiz-commits] r7926 - trunk/misc/tools
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Sat Sep 26 10:41:09 EDT 2009
Author: div0
Date: 2009-09-26 10:41:09 -0400 (Sat, 26 Sep 2009)
New Revision: 7926
Modified:
trunk/misc/tools/WeaponEncounterProfile.pm
Log:
accept more types of comments
Modified: trunk/misc/tools/WeaponEncounterProfile.pm
===================================================================
--- trunk/misc/tools/WeaponEncounterProfile.pm 2009-09-26 14:37:55 UTC (rev 7925)
+++ trunk/misc/tools/WeaponEncounterProfile.pm 2009-09-26 14:41:09 UTC (rev 7926)
@@ -24,7 +24,9 @@
while(<$fh>)
{
chomp;
+ /^$/ and next;
/^#/ and next;
+ /^\/\// and next;
my ($addr, $map, $attackerweapon, $targweapon, $value) = split /\t/, $_;
$targweapon = int $self->weaponid_from_name($targweapon)
if $targweapon ne int $targweapon;
More information about the nexuiz-commits
mailing list