| author | hackykid |
| Mon, 27 Jun 2005 21:34:31 +0000 | |
| changeset 1988 | a8db3e705778 |
| parent 1987 | 9de61844bc60 |
| child 1989 | 2851dd2efb50 |
--- a/engine.c Mon Jun 27 17:45:21 2005 +0000 +++ b/engine.c Mon Jun 27 21:34:31 2005 +0000 @@ -563,9 +563,8 @@ return 0; } - direction %= 8; - if (rsg->sprites_per_set == 4) - direction %= 4; + assert(rsg->sprites_per_set <= 8); + direction %= rsg->sprites_per_set; totalsets = in_motion ? rsg->loaded_count : rsg->loading_count;