From cd6d5e6237acf659d75fa64568506c152ce41ec9 Mon Sep 17 00:00:00 2001 From: Jakob Fries Date: Tue, 25 Dec 2007 03:25:13 +0000 Subject: new fonts added, lots more magic font code added, server bug fixed --- src/engine/e_snapshot.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/engine/e_snapshot.c') 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; -- cgit 1.4.1