Originally Posted by
showeq42
here's the fix, spawnshell.cpp, line 613:
edit: fixed the fix
Code:
if(i == 0)
{
spawn->bodytype = 0;
}
else
{
do
{
nTmp = netStream.readUInt32NC();
if(i == spawn->charProperties)
{
spawn->bodytype = nTmp;
#ifdef FILLSPAWNSTRUCT_DIAG
seqDebug("bodytype = %d", spawn->bodytype);
#endif
}
}
while(--i);
}
Does this get added at line 613 or replace the code that is there?
Code:
i = spawn->charProperties;
do
{
nTmp = netStream.readUInt32NC();
if(i == spawn->charProperties)
{
spawn->bodytype = nTmp;
#ifdef FILLSPAWNSTRUCT_DIAG
seqDebug("bodytype = %d", spawn->bodytype);
#endif
}
}
while(--i);
line 613 is "do" and replacing there didn't work for me. It's early so maybe I am just being dense...