- scriptified Strife's coins.
- added a String class to allow attaching methods to the builtin string type. This works by checking if the left side of the member accessor is a string and just replacing the tyoe in this one place, all the rest is automatic.
This commit is contained in:
parent
d2ce78fae7
commit
9064a5b0ac
17 changed files with 222 additions and 34 deletions
|
|
@ -424,7 +424,7 @@ AInventory *AWeapon::CreateTossable ()
|
|||
(((AWeapon*)SisterWeapon->GetDefault())->AmmoGive1 > 0 ||
|
||||
((AWeapon*)SisterWeapon->GetDefault())->AmmoGive2 > 0))
|
||||
{
|
||||
return SisterWeapon->CreateTossable ();
|
||||
return SisterWeapon->CallCreateTossable ();
|
||||
}
|
||||
AWeapon *copy = static_cast<AWeapon *> (Super::CreateTossable ());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue