AndyPandy
02-03-2011, 07:27 AM
Hi,
UDK Version: 7546
u get a compiler crash if try to compare a reference to a Actor/Object/Component with a bool, this seems only to happen with bools. So float/int/vector worked fine and result in the correct error.
Example:
var bool MyBool;
event UnTouch(Actor Other)
{
if (Other == MyBool) { // <--- crash
}
}
UDK Version: 7546
u get a compiler crash if try to compare a reference to a Actor/Object/Component with a bool, this seems only to happen with bools. So float/int/vector worked fine and result in the correct error.
Example:
var bool MyBool;
event UnTouch(Actor Other)
{
if (Other == MyBool) { // <--- crash
}
}