diff options
Diffstat (limited to 'apps/plugins/matrix.c')
-rw-r--r-- | apps/plugins/matrix.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/apps/plugins/matrix.c b/apps/plugins/matrix.c index ee66135862..09d8ec756c 100644 --- a/apps/plugins/matrix.c +++ b/apps/plugins/matrix.c | |||
@@ -259,26 +259,26 @@ static void matrix_loop(void) | |||
259 | y = 0; | 259 | y = 0; |
260 | firstcoldone = 0; | 260 | firstcoldone = 0; |
261 | while (i <= ROWS) { | 261 | while (i <= ROWS) { |
262 | /* Skip over spaces */ | 262 | /* Skip over spaces */ |
263 | /* this is whear the characters were disappearing */ | 263 | /* this is whear the characters were disappearing */ |
264 | /* | 264 | /* |
265 | while (i <= ROWS && (matrix[i][j].val == 129 || | 265 | while (i <= ROWS && (matrix[i][j].val == 129 || |
266 | matrix[i][j].val == -1)) | 266 | matrix[i][j].val == -1)) |
267 | i++; | 267 | i++; |
268 | */ | 268 | */ |
269 | /* A little more random now for spaces */ | 269 | /* A little more random now for spaces */ |
270 | if (rb->rand() % randomness == 1){ | 270 | if (rb->rand() % randomness == 1){ |
271 | while (i <= ROWS && (matrix[i][j].val == 129 || | 271 | while (i <= ROWS && (matrix[i][j].val == 129 || |
272 | matrix[i][j].val == -1)){ | 272 | matrix[i][j].val == -1)){ |
273 | i++; | 273 | i++; |
274 | randomness--; | 274 | randomness--; |
275 | if(randomness <=1) | 275 | if(randomness <=1) |
276 | randomness = 6;} | 276 | randomness = 6;} |
277 | }else{ | 277 | }else{ |
278 | randomness++; | 278 | randomness++; |
279 | if(randomness >6) | 279 | if(randomness >6) |
280 | randomness = 6; | 280 | randomness = 6; |
281 | } | 281 | } |
282 | 282 | ||
283 | 283 | ||
284 | if (i > ROWS) | 284 | if (i > ROWS) |