- Thought I was forgetting something.

This commit is contained in:
MajorCooke 2014-12-17 17:12:33 -06:00
parent 30acb72006
commit b255e5d67d

View file

@ -1422,7 +1422,7 @@ DEFINE_PROPERTY(stamina, I, Actor)
DEFINE_PROPERTY(telefogsourcetype, S, Actor)
{
PROP_STRING_PARM(str, 0);
if (!stricmp(str, "TeleportFog")) defaults->TeleFogSourceType = NAME_None;
if (str == NULL) defaults->TeleFogSourceType = "TeleportFog";
else defaults->TeleFogSourceType = str;
}
@ -1432,8 +1432,8 @@ DEFINE_PROPERTY(telefogsourcetype, S, Actor)
DEFINE_PROPERTY(telefogdesttype, S, Actor)
{
PROP_STRING_PARM(str, 0);
if (!stricmp(str, "TeleportFog")) defaults->TeleFogDestType = NAME_None;
else defaults->TeleFogDestType = str;
if (str == NULL) defaults->TeleFogSourceType = "TeleportFog";
defaults->TeleFogDestType = str;
}
//==========================================================================