It is, and I had absolutely no idea that was valid in C++ (i didn’t realize that you could && a pointer and a bool in C++… it’s common to && totally unrelated things in less strictly typed languages, though…)
NULL is actually typically defined as Zero (meaning the number 0). It is only a convention to be more clear when you see tests like :
if (pMyActor == NULL)
You can actually write them as
if (pMyActor)
and get just as far, in most compilers. If you happen to be in a non standard environment you can get in trouble with this, but since we are all windows, mac and linux users … =D