Resolved compiler errors in CEntity and CPlayer