From 633c3da4016f2810ae5a8f98ee8ea0979a28d9ea Mon Sep 17 00:00:00 2001 From: jacksonmj Date: Fri, 14 Oct 2011 06:54:50 +0800 Subject: [PATCH] Fix crash with abnormal ICE ctype --- src/powder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/powder.c b/src/powder.c index 8da1bbfcb..a427acc22 100644 --- a/src/powder.c +++ b/src/powder.c @@ -1847,7 +1847,7 @@ void update_particles_i(pixel *vid, int start, int inc) if (ptransitions[t].tht!=PT_NUM) t = ptransitions[t].tht; else if (t==PT_ICEI) { - if (parts[i].ctype&&parts[i].ctype!=PT_ICEI) { + if (parts[i].ctype>0&&parts[i].ctype