mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-05 20:09:38 +01:00
(svn r12436) -Cleanup: minor coding style
This commit is contained in:
parent
989f967509
commit
f9e7b70f91
@ -338,8 +338,7 @@ static void CompactSpriteCache()
|
|||||||
assert(!(next->size & S_FREE_MASK));
|
assert(!(next->size & S_FREE_MASK));
|
||||||
|
|
||||||
/* If the next block is the sentinel block, we can safely return */
|
/* If the next block is the sentinel block, we can safely return */
|
||||||
if (next->size == 0)
|
if (next->size == 0) break;
|
||||||
break;
|
|
||||||
|
|
||||||
/* Locate the sprite belonging to the next pointer. */
|
/* Locate the sprite belonging to the next pointer. */
|
||||||
for (i = 0; GetSpriteCache(i)->ptr != next->data; i++) {
|
for (i = 0; GetSpriteCache(i)->ptr != next->data; i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user