Fixed a bug in Undoable::clear_mask

This commit is contained in:
David Capello 2009-11-18 14:46:05 +00:00
parent 1764f78d1b
commit be8a97f5b8

View File

@ -951,7 +951,7 @@ void Undoable::clear_mask(int bgcolor)
// if the layer is transparent we can remove the cel (and its
// associated image)
else {
static_cast<LayerImage*>(m_sprite->layer)->remove_cel(cel);
remove_cel(static_cast<LayerImage*>(m_sprite->layer), cel);
}
}
else {