diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2018-12-30 11:04:10 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2018-12-30 11:04:10 +0100 |
| commit | 362f9350868286b066070df7da1f496df08ecd73 (patch) | |
| tree | d4bf7e564018d835092fff0f311ebcec6740d02d /test/blocks.cxx | |
| parent | 26bb0e5a831be64f21eec41efef73571aebadab5 (diff) | |
| parent | de199c327e9b55bd615f7262724da8ecba1999cf (diff) | |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'test/blocks.cxx')
| -rw-r--r-- | test/blocks.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/blocks.cxx b/test/blocks.cxx index c7d3979ed..6135313ba 100644 --- a/test/blocks.cxx +++ b/test/blocks.cxx @@ -771,7 +771,7 @@ int BlockWindow::handle(int event) { b = 0; for (j = 0, c = columns_; !count && j < num_columns_; j ++, c ++) - for (k = 0, b = c->blocks; !count && k < c->num_blocks; k ++, b ++) + for (k = 0, b = c->blocks; k < c->num_blocks; k ++, b ++) if (mx >= c->x && mx < (c->x + BLOCK_SIZE) && my >= b->y && my < (b->y + BLOCK_SIZE)) { if (b->bomb) count = bomb(b->color); |
