animated map working | fixed pointer to local variable with animated entities