View Single Post
  #29  
Old 11-27-2012, 03:48 PM
Tabasco's Avatar
Tabasco
Discordant
 
Join Date: Sep 2009
Posts: 269
Default

That would certainly do it, but it looks like there's already a check there also.
Code:
            int16 charges = 0;
            if(inst->GetCharges() >= 0)
                charges = inst->GetCharges();
            else
                charges = 0x7FFF; //32767
Reply With Quote