p_enemy.c
/*
==================================
=
= TryWalk
=
= Attempts to move actoron in its current (ob->moveangle) direction.
=
= If blocked by either a wall or an actor returns FALSE
= If move is either clear or blocked only by a door, returns TRUE and sets
= If a door is in the way, an OpenDoor call is made to start it opening.
=
==================================
*/
TryWalk
Attempts to move actoron in its current (ob->moveangle) direction.

If blocked by either a wall or an actor returns FALSE
If move is either clear or blocked only by a door, returns TRUE and sets
If a door is in the way, an OpenDoor call is made to start it opening.
TryWalk Attempts to move actoron in its current ( ob - > moveangle ) direction . If blocked by either a wall or an actor returns FALSE If move is either clear or blocked only by a door returns TRUE and sets If a door is in the way an OpenDoor call is made to start it opening .
boolean P_TryWalk (mobj_t *actor)
{	
	if (!P_Move (actor))
		return false;
	actor->movecount = P_Random()&15;
	return true;
}
boolean P_TryWalk ( mobj_t * actor ) { if ( ! P_Move ( actor ) ) return false ; actor -> movecount = P_Random ( ) & 15 ; return true ; }
TryWalk
Attempts to move actoron in its current (ob->moveangle) direction.
TryWalk Attempts to move actoron in its current ( ob - > moveangle ) direction .