bool Gate::Execute() const { return (void *)action == (void *)1 ? true : action ? action->Execute() : false; }
bool Gate::Execute() const { return (void *)action<(void*)2? (void*)action==(void*)1 :action->Execute(); } // or even //return (void *)action<(void*)2 ? (bool)action : action->Execute(); }
[Updated on: Mon, 14 March 2011 06:46]
Report message to a moderator