summaryrefslogtreecommitdiffhomepage
path: root/digital/mimot/src/dirty/pos.c
diff options
context:
space:
mode:
Diffstat (limited to 'digital/mimot/src/dirty/pos.c')
-rw-r--r--digital/mimot/src/dirty/pos.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/digital/mimot/src/dirty/pos.c b/digital/mimot/src/dirty/pos.c
index ef6475c2..28684414 100644
--- a/digital/mimot/src/dirty/pos.c
+++ b/digital/mimot/src/dirty/pos.c
@@ -103,7 +103,11 @@ pos_update_single (struct state_t *state, struct pos_t *pos,
pos->blocked_counter++;
else
pos->blocked_counter = 0;
- if (!(state->variant & 4)
+ if (state->variant & 1)
+ {
+ pos_reset (pos);
+ }
+ else if (!(state->variant & 4)
&& pos->blocked_counter > pos->blocked_counter_limit)
{
/* Blocked. */