From 0e041899512cb5f50061a858425d46cc56021279 Mon Sep 17 00:00:00 2001 From: Duncan Frost Date: Thu, 26 Mar 2015 22:08:56 +0000 Subject: [PATCH] Fix potential future bug --- src/world/map_animation.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/world/map_animation.c b/src/world/map_animation.c index 9ac1eee941..282cad529c 100644 --- a/src/world/map_animation.c +++ b/src/world/map_animation.c @@ -55,7 +55,8 @@ void map_animation_create(int type, int x, int y, int z) continue; if (aobj->baseZ != z) continue; - + if (aobj->type != type) + continue; // Animation already exists return; }