Mercurial > otakunoraifu
diff scn2k/scn2k_grpimpl.cc @ 61:bdd8a5ff8f46
Revert an old change that disabled cursors...
author | Thibaut GIRKA <thib@sitedethib.com> |
---|---|
date | Fri, 18 Dec 2009 21:07:29 +0100 |
parents | e16e13d8cd68 |
children | 1fd20d231376 |
line wrap: on
line diff
--- a/scn2k/scn2k_grpimpl.cc +++ b/scn2k/scn2k_grpimpl.cc @@ -516,10 +516,13 @@ void Grp::impl_objColour(Cmd& cmd) { void Grp::impl_objComposite(Cmd& cmd) {//FIXME int base_arg = 0; GrpObj* g = GetGraphicObjVarMode(cmd, base_arg, (cmd.cmd2 == 0x51)); - if (cmd.args[base_arg + 1].value == 1) { + if (cmd.args[base_arg + 1].value == 1) + { g->attr = GrpObj::Attribute(g->attr | GrpObj::BLIT_ADD); cmd.clear(); - } else if (cmd.args[base_arg + 1].value == 0) { + } + else if (cmd.args[base_arg + 1].value == 0) + { g->attr = GrpObj::Attribute(g->attr & (~GrpObj::BLIT_ADD)); cmd.clear(); }