Code: Select all
class caca:actor{
cacodemon notcaco;
override void postbeginplay(){
super.postbeginplay();
notcaco=cacodemon(spawn("lostsoul"));
notcaco.target=self;
//notcaco.stamina=1000;
}
}
Expected: VM crash with null pointer
Actual: Hard crash to desktop
Expected behaviour occurs if I set stamina instead of target.