to prevent humans from wandering onto the beach and banging up against the barrier , another spell clouded the atmosphere , a spell to muddle the human brain temporarily so that any thought to approaching the beach was quashed , and replaced with one to go and get some ice cream or something to that mundane end .