- Added Gez's dropammofactor submission with some necessary changes. Also merged
redundant ammo multiplication code from P_DropItem and ADehackedPickup::TryPickup. - Restricted native action function definitions to zdoom.pk3. SVN r1123 (trunk)
This commit is contained in:
parent
344f1072a6
commit
0ad1bfe87e
9 changed files with 82 additions and 34 deletions
|
|
@ -573,7 +573,7 @@ void FBehavior::StaticLoadDefaultModules ()
|
|||
|
||||
FBehavior *FBehavior::StaticLoadModule (int lumpnum, FileReader * fr, int len)
|
||||
{
|
||||
if (lumpnum == -1) return;
|
||||
if (lumpnum == -1) return NULL;
|
||||
|
||||
for (unsigned int i = 0; i < StaticModules.Size(); ++i)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue