Fix pobj_comp to actually mark potions as potions!
authorMartin Read <martin@blackswordsonics.com>
Tue, 21 Jan 2014 20:07:24 +0000 (20:07 +0000)
committerMartin Read <martin@blackswordsonics.com>
Tue, 21 Jan 2014 20:07:24 +0000 (20:07 +0000)
pobj_comp

index 43bdeab..7ebdeae 100755 (executable)
--- 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))
 {