- Fixed AInventory::PickupFlash setting with GCC.
- Fixed: The MusicVolumes list was allocated with M_Malloc but freed with delete. - Fixed: demobuffer was inconsistantly handled with new[]/delete[] and malloc/free. - Added used memory tracking to M_Malloc() and M_Realloc(). This necessitated the addition of an M_Free() call to track frees. - Removed M_Calloc since it was only used in one place, and can just as well be done with an M_Malloc/memset pair. - Bumped DEMOGAMEVERSION for the new net controller codes. SVN r751 (trunk)
This commit is contained in:
parent
39bff11693
commit
133350fb9c
29 changed files with 182 additions and 98 deletions
|
|
@ -255,7 +255,7 @@ static void ApplyActorDefault (int defnum, const char *datastr, int dataint)
|
|||
|
||||
case ADEF_Inventory_FlagsSet: item->ItemFlags |= dataint; break;
|
||||
case ADEF_Inventory_FlagsClear: item->ItemFlags &= ~dataint; break;
|
||||
case ADEF_Inventory_PickupFlash:item->PickupFlash = dataint? fuglyname("PickupFlash") : NULL;
|
||||
case ADEF_Inventory_PickupFlash:if(dataint) { item->PickupFlash = fuglyname("PickupFlash"); } else { item->PickupFlash = NULL; } break;
|
||||
case ADEF_Inventory_Amount: item->Amount = dataint; break;
|
||||
case ADEF_Inventory_RespawnTics:item->RespawnTics = dataint; break;
|
||||
case ADEF_Inventory_MaxAmount: item->MaxAmount = dataint; break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue