From: Martin Read Date: Tue, 21 Jan 2014 20:07:24 +0000 (+0000) Subject: Fix pobj_comp to actually mark potions as potions! X-Git-Tag: printmsg-purged~26 X-Git-Url: http://git.blackswordsonics.com/?a=commitdiff_plain;h=a467715915d112763da0c965d74c65157fbf0aec;p=victrix-abyssi Fix pobj_comp to actually mark potions as potions! --- diff --git a/pobj_comp b/pobj_comp index 43bdeab..7ebdeae 100755 --- a/pobj_comp +++ b/pobj_comp @@ -391,7 +391,7 @@ for ($i = 0; $i <= $#potions; ++$i, ++$total_objs) print HEADERFILE ",\n"; } print HEADERFILE " ${tagname}"; - printf SOURCEFILE " { \"%s\", \"%s\", \"%s\", POCLASS_ARMOUR, %d, %s, %s, Gcol_%s, %d, %d, %d },\n", $phref->{name}, $phref->{plural}, $phref->{desc}, $phref->{rarity}, $phref->{ascii}, $phref->{uni}, $phref->{colour}, $phref->{power}, $phref->{power2}, $phref->{depth}; + printf SOURCEFILE " { \"%s\", \"%s\", \"%s\", POCLASS_POTION, %d, %s, %s, Gcol_%s, %d, %d, %d },\n", $phref->{name}, $phref->{plural}, $phref->{desc}, $phref->{rarity}, $phref->{ascii}, $phref->{uni}, $phref->{colour}, $phref->{power}, $phref->{power2}, $phref->{depth}; } if (defined($tagname)) {