Enderman attacks a player if he's looking at him.
Swapped m_Player and m_EndermanPos
Improved Enderman code
Replaced strange algebra with dot product.

10 degrees is a completely arbitary constant I pulled from nowhere. Feel free to adjust this value.
Changed comment
Removed lighting code in cEnderman::CheckEventSeePlayer
Added lighting code and added comments
Comment suggestions
Merge pull request #1047 from mc-server/Enderman

Enderman attacks a player if he's looking at him