Skip to content

Commit

Permalink
Fix rain blending for *d63284
Browse files Browse the repository at this point in the history
  • Loading branch information
vit9696 committed May 12, 2020
1 parent 9bffdfe commit 5a23bb1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions Engine/Core/CommandExt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2855,6 +2855,13 @@ int ONScripter::colorModCommand() {
}
backupState(anim);

if (anim->layer_no >= 0) {
auto *layer = getLayer<ObjectFallLayer>(anim->layer_no, false);
if (layer != nullptr) {
layer->setBlend(BlendModeId::NORMAL);
}
}

if (matched_string) {
if (matched_string == str_off) {
anim->spriteTransforms.sepia = false;
Expand Down
2 changes: 1 addition & 1 deletion ONScripter.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1879,7 +1879,7 @@
1C0A5F5717478DCF004A9BCC /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 1130;
LastUpgradeCheck = 1140;
TargetAttributes = {
1C9F26D51ADB0E7900138E84 = {
CreatedOnToolsVersion = 6.3;
Expand Down

0 comments on commit 5a23bb1

Please sign in to comment.