diff options
| author | Jakob Fries <jakob.fries@gmail.com> | 2007-12-25 03:25:13 +0000 |
|---|---|---|
| committer | Jakob Fries <jakob.fries@gmail.com> | 2007-12-25 03:25:13 +0000 |
| commit | cd6d5e6237acf659d75fa64568506c152ce41ec9 (patch) | |
| tree | 34f0a110da3796d10d272bd4742b000503103326 /src/engine/e_snapshot.c | |
| parent | 23d50255d2527c2aa1fa15964f0fd22d0ba95bc2 (diff) | |
| download | zcatch-cd6d5e6237acf659d75fa64568506c152ce41ec9.tar.gz zcatch-cd6d5e6237acf659d75fa64568506c152ce41ec9.zip | |
new fonts added, lots more magic font code added, server bug fixed
Diffstat (limited to 'src/engine/e_snapshot.c')
| -rw-r--r-- | src/engine/e_snapshot.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/engine/e_snapshot.c b/src/engine/e_snapshot.c index d2379217..66b9a295 100644 --- a/src/engine/e_snapshot.c +++ b/src/engine/e_snapshot.c @@ -427,6 +427,10 @@ void snapstorage_purge_until(SNAPSTORAGE *ss, int tick) return; /* no more to remove */ mem_free(h); + // did we come to the end of the list? + if (!next) + break; + ss->first = next; next->prev = 0x0; |