From de3fda828dae5015dcadb7018188f80a4f265dcb Mon Sep 17 00:00:00 2001 From: Steven Fuller Date: Sun, 12 Aug 2001 02:30:17 +0000 Subject: Fixed particle colors for real this time. Worked around a crash (DIV_FIXED by zero) that happens when the Alien level FERARCO starts. --- src/mathline.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mathline.c') diff --git a/src/mathline.c b/src/mathline.c index 7879f95..2adfc09 100644 --- a/src/mathline.c +++ b/src/mathline.c @@ -394,6 +394,8 @@ __asm__("imull %%edx \n\t" int DIV_FIXED(int a, int b) { int retval; + + if (b == 0) return 0; /* TODO: debug this! (start with alien on ferarco) */ /* _asm { -- cgit v1.3