@Graf: This is a problem
Moderator: Developers
Grubber wrote:@Anakin: I haven't included any fixes (where to get 'em?)
@Graf: This is a problem
Graf Zahl wrote:EDIT (1/13/2005):
I fixed the weapon offset bug that was mentioned in the thread several times. Everybody who wants to compile the source should note that the fix was in p_pspr.cpp so you have to apply the .diff to the original .96 source again!
EDIT (3/21/05): Ok, I'm just too lazy to upload everything again. There's a bug in A_TakeInventory which renders the function useless. Here's the fix:
- Code: Select all • Expand view
void A_TakeInventory(AActor * self)
{
int index=CheckIndex(2);
if (index<0) return;
const char * item =(const char*)StateParameters[index];
int amount=StateParameters[index+1];
const TypeInfo * mi=TypeInfo::FindType(item);
if (mi)
{
AInventory * inv = self->FindInventory(mi);
if (inv && !inv->IsKindOf(RUNTIME_CLASS(AHexenArmor)))
{
if (!amount || amount>=inv->Amount)
{
if (inv->IsKindOf(RUNTIME_CLASS(AAmmo))) inv->Amount=0;
else inv->Destroy();
}
else inv->Amount-=amount;
}
}
}
Nmn wrote:I need more cultists to worship Grubber.
:rock::rock::rock::rock::rock::rock::rock::rock::rock::rock::rock::rock::rock::rock::rock::rock::rock::rock::rock::rock::rock::rock::rock::rock::rock::rock::rock::rock::rock::rock:Return to Closed Feature Suggestions
Users browsing this forum: No registered users and 1 guest