/* charges */
if (portal->value[0] > 0)
{
portal->value[0]–;
if (portal->value[0] == 0)
portal->value[0] = -1;
}
if ispc $n 'whereas $n = staryavsky
then
mob echo Portals can be made eternal by leaving the v0 set as 0
mob echo If the portals v0 is set to -1, then it will always disappear after 1 use
mob echo So, leave v0 as 0 and you'll always have an eternal portal! Yay!!!!!
endif
can have a portals V0 set to -1 to have unlimited charges, when the code below (from act_enter.c)
says portal->value[0] == -1 "fades out of existence, then at the end it uses (handler.c)'s extract_obj(portal);?
I mean, yeah, i could change it, but first of all, why does it do this, and second, will i screw up everything?