Skip to content
Permalink
Browse files

- adjusted the script-side MidPrint calls to honor the con_midconsole…

…font CVAR.
  • Loading branch information...
coelckers committed Mar 11, 2019
1 parent f500414 commit c0d333ee56034118f00e07ba0ab0b6c6cdd95c8a
@@ -127,7 +127,7 @@ class PuzzleItem : Inventory
Owner.A_PlaySound ("*puzzfail", CHAN_VOICE);
if (Owner.CheckLocalView())
{
Console.MidPrint ("SmallFont", PuzzFailMessage, true);
Console.MidPrint (null, PuzzFailMessage, true);
}
return false;
}
@@ -108,13 +108,13 @@ class AlienSpectre1 : SpectralMonster
}
else if (cls == "AlienSpectre2")
{
Console.MidPrint("SmallFont", "$TXT_KILLED_BISHOP");
Console.MidPrint(null, "$TXT_KILLED_BISHOP");
log = 74;
player.GiveInventoryType ("QuestItem21");
}
else if (cls == "AlienSpectre3")
{
Console.MidPrint("SmallFont", "$TXT_KILLED_ORACLE");
Console.MidPrint(null, "$TXT_KILLED_ORACLE");
// If there are any Oracles still alive, kill them.
ThinkerIterator it = ThinkerIterator.Create("Oracle");
Actor oracle;
@@ -144,7 +144,7 @@ class AlienSpectre1 : SpectralMonster
}
else if (cls == "AlienSpectre4")
{
Console.MidPrint("SmallFont", "$TXT_KILLED_MACIL");
Console.MidPrint(null, "$TXT_KILLED_MACIL");
player.GiveInventoryType ("QuestItem24");
if (player.FindInventory ("QuestItem25") == null)
{ // Richter has taken over. Macil is a snake.
@@ -157,7 +157,7 @@ class AlienSpectre1 : SpectralMonster
}
else if (cls == "AlienSpectre5")
{
Console.MidPrint("SmallFont", "$TXT_KILLED_LOREMASTER");
Console.MidPrint(null, "$TXT_KILLED_LOREMASTER");

player.GiveInventoryType ("QuestItem26");
if (!multiplayer)
@@ -531,7 +531,7 @@ class Scanner : PowerupGiver
{
if (Owner.CheckLocalView())
{
Console.MidPrint("SmallFont", "$TXT_NEEDMAP");
Console.MidPrint(null, "$TXT_NEEDMAP");
}
return false;
}
@@ -632,7 +632,7 @@ class RaiseAlarm : DummyStrifeItem
dropper.target.SoundAlert(dropper.target);
if (dropper.target.CheckLocalView())
{
Console.MidPrint(SmallFont, "$TXT_YOUFOOL");
Console.MidPrint(null, "$TXT_YOUFOOL");
}
}
Destroy ();
@@ -672,7 +672,7 @@ class CloseDoor222 : DummyStrifeItem
{
if (dropper.target.CheckLocalView())
{
Console.MidPrint(SmallFont, "$TXT_YOUREDEAD");
Console.MidPrint(null, "$TXT_YOUREDEAD");
}
dropper.target.SoundAlert(dropper.target);
}
@@ -32,7 +32,7 @@ extend class Actor

if (msg != msgid) // if both are identical there was no message of this name in the stringtable.
{
Console.MidPrint ("SmallFont", msg);
Console.MidPrint (null, msg);
}
}

0 comments on commit c0d333e

Please sign in to comment.
You can’t perform that action at this time.