- scriptified a_strifeitems.cpp and a_debris.cpp.
- Changed the glass shards so that they do not have to override FloorBounceMissile. It was the only place where this was virtually overridden and provided little usefulness. - made 'out' variables work. - fixed virtual call handling for HandlePickup.
This commit is contained in:
parent
55b549c0c6
commit
3af9232fca
29 changed files with 374 additions and 528 deletions
|
|
@ -50,7 +50,6 @@
|
|||
#include "gi.h"
|
||||
#include "m_random.h"
|
||||
#include "p_conversation.h"
|
||||
#include "a_strifeglobal.h"
|
||||
#include "r_data/r_translate.h"
|
||||
#include "p_3dmidtex.h"
|
||||
#include "d_net.h"
|
||||
|
|
@ -3220,8 +3219,8 @@ FUNC(LS_GlassBreak)
|
|||
if (it != NULL)
|
||||
{
|
||||
it->GiveInventoryType (QuestItemClasses[28]);
|
||||
it->GiveInventoryType (RUNTIME_CLASS(AUpgradeAccuracy));
|
||||
it->GiveInventoryType (RUNTIME_CLASS(AUpgradeStamina));
|
||||
it->GiveInventoryType (PClass::FindActor("UpgradeAccuracy"));
|
||||
it->GiveInventoryType (PClass::FindActor("UpgradeStamina"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue