Sacrifice a %bull bug.

This commit is contained in:
C. Guy Yarvin 2014-02-10 21:34:24 -08:00
parent bdb87b5356
commit c3dd1c6209

View File

@ -32,14 +32,19 @@
} }
case c3__bull: u2_bi_cell(wir_r, u2_t(sut), &p_sut, &q_sut); case c3__bull: u2_bi_cell(wir_r, u2_t(sut), &p_sut, &q_sut);
{ {
u2_noun sub = _heal_by(wir_r, van, q_sut, qog, ref); if ( u2_yes == u2_sing(u2h(p_sut), u2_t(qog)) ) {
u2_noun ret; return u2_rx(wir_r, ref);
}
else {
u2_noun sub = _heal_by(wir_r, van, q_sut, qog, ref);
u2_noun ret;
ret = j2_mcy(Pt6, ut, busk) ret = j2_mcy(Pt6, ut, busk)
(wir_r, van, sub, u2h(p_sut), u2h(u2t(p_sut))); (wir_r, van, sub, u2h(p_sut), u2h(u2t(p_sut)));
u2z(sub); u2z(sub);
return ret; return ret;
}
} }
case c3__face: u2_bi_cell(wir_r, u2_t(sut), &p_sut, &q_sut); case c3__face: u2_bi_cell(wir_r, u2_t(sut), &p_sut, &q_sut);
{ {