Merge branch 'scripting'
Conflicts: src/actor.h src/g_doom/a_doomweaps.cpp src/g_hexen/a_blastradius.cpp src/p_enemy.cpp src/p_enemy.h src/thingdef/thingdef.h src/thingdef/thingdef_codeptr.cpp wadsrc/static/actors/constants.txt
This commit is contained in:
commit
b3b0886b64
230 changed files with 24061 additions and 8641 deletions
|
|
@ -371,12 +371,12 @@ level_info_t *level_info_t::CheckLevelRedirect ()
|
|||
{
|
||||
if (RedirectType != NAME_None)
|
||||
{
|
||||
const PClass *type = PClass::FindClass(RedirectType);
|
||||
PClassActor *type = PClass::FindActor(RedirectType);
|
||||
if (type != NULL)
|
||||
{
|
||||
for (int i = 0; i < MAXPLAYERS; ++i)
|
||||
{
|
||||
if (playeringame[i] && players[i].mo->FindInventory (type))
|
||||
if (playeringame[i] && players[i].mo->FindInventory(type))
|
||||
{
|
||||
// check for actual presence of the map.
|
||||
if (P_CheckMapData(RedirectMapName))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue