Index: trunk/src/rats_act.c =================================================================== --- trunk/src/rats_act.c (revision 17612) +++ trunk/src/rats_act.c (revision 17613) @@ -118,6 +118,9 @@ pcb_center_display((shorty->Point2.X + shorty->Point1.X) / 2, (shorty->Point2.Y + shorty->Point1.Y) / 2); } break; + + default: + PCB_ACT_FAIL(AddRats); } PCB_ACT_IRES(0); return 0; @@ -191,6 +194,8 @@ default: PCB_ACT_FAIL(Connection); } + + PCB_ACT_IRES(0); return 0; }