Advertisement

crash after get property of null class in function

Started by April 23, 2012 06:44 AM
1 comment, last by WitchLord 12 years, 7 months ago
Hello!smile.png


class BugClass
{
int ID;
}

void CallBug( BugClass @bc )
{
int id = bc.ID;

// He can show exection to get <null>
// but he crash programm: ac_context.cpp line 2521
//
// case asBC_RDR4:
// *(asDWORD*)(l_fp - asBC_SWORDARG0(l_bc)) = **(asDWORD**)&regs.valueRegister;
// l_bc++;
// break;
}

void startGame()
{
CallBug( null );
}
Thanks. I'll investigate this.

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

Advertisement
I've fixed this bug in revision 1282.

Thanks,
Andreas

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

This topic is closed to new replies.

Advertisement