Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 7774244

Browse files
author
Fraser J. Gordon
committed
Fix a return value not being set
1 parent 8d35d99 commit 7774244

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

engine/src/bitmapeffect.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -945,8 +945,11 @@ bool MCBitmapEffectsSetProperty(MCExecContext& ctxt, MCBitmapEffectsRef& self, M
945945
if (t_is_array && p_value . type == kMCExecValueTypeValueRef && MCValueIsEmpty(p_value . valueref_value))
946946
{
947947
if (self == nil || (self -> mask & (1 << t_type)) == 0)
948-
return true;
949-
948+
{
949+
r_dirty = false;
950+
return true;
951+
}
952+
950953
// We are set, so just unset our bit in the mask
951954
self -> mask &= ~(1 << t_type);
952955

0 commit comments

Comments
 (0)