mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix potential future bug
This commit is contained in:
parent
112290ca0c
commit
0e04189951
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue