Two quick questions...
First:
Is there something wrong with this? (trying to track down inventory issues)
Code:
uint8 ItemInst::FirstOpenSlot() const {
int8 slots=m_item->BagSlots,i;
for(i=0;i<slots;i++) {
if (!GetItem(i))
break;
}
return (i<slots) ? i : 0xff;
}
I though that I had read that assignments were not allowed in multi-declaration statements.
Is that true? Or, was it true in the past?
Second:
Is there a problem with this delegate?
Code:
static std::list<type> Class::Function(type arg);
It compiles with no errors, but something I did is crashing zone after I select the character. I can trace the cause by process of elimination, but re-compiling takes
time. If there's a simple answer...
Thanks!