EntityEffect.cpp: Slight optimizations and code readability improvements