--- abe-1_0/src/Monster.c.gcc4 2005-04-11 18:53:41.041488498 +0300 +++ abe-1_0/src/Monster.c 2005-04-11 19:03:18.791039043 +0300 @@ -563,13 +563,13 @@ } void allocFireCustom(LiveMonster *live) { - if(((int*)live->custom = (int*)malloc(sizeof(int))) == NULL) { + if((live->custom = (int*)malloc(sizeof(int))) == NULL) { fprintf(stderr, "Out of memory when trying to allocate custom storage for fire column.\n"); } } void allocEndGameCustom(LiveMonster *live) { - if(((int*)live->custom = (int*)malloc(sizeof(int))) == NULL) { + if((live->custom = (int*)malloc(sizeof(int))) == NULL) { fprintf(stderr, "Out of memory when trying to allocate custom storage for end game.\n"); } *((int*)(live->custom)) = 0;