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**)®s.valueRegister;
// l_bc++;
// break;
}
void startGame()
{
CallBug( null );
}
crash after get property of null class in function
Hello!
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
I've fixed this bug in revision 1282.
Thanks,
Andreas
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
Popular Topics
Advertisement