mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-31 12:30:40 +00:00
- print errors in red.
This commit is contained in:
parent
4e6023ea34
commit
43bc6edba3
1 changed files with 2 additions and 2 deletions
|
@ -529,7 +529,7 @@ void GameInterface::FinalizeSetup()
|
|||
int newmove = LookupMove(cls, nm);
|
||||
if (newmove == 0)
|
||||
{
|
||||
Printf("Invalid move '%s' in AI '%s' for class '%s'\n", nm.GetChars(), ai->name.GetChars(), cls->TypeName.GetChars());
|
||||
Printf(TEXTCOLOR_RED "Invalid move '%s' in AI '%s' for class '%s'\n", nm.GetChars(), ai->name.GetChars(), cls->TypeName.GetChars());
|
||||
}
|
||||
ai->move = newmove;
|
||||
}
|
||||
|
@ -539,7 +539,7 @@ void GameInterface::FinalizeSetup()
|
|||
int newaction = LookupAction(cls, nm);
|
||||
if (newaction == 0)
|
||||
{
|
||||
Printf("Invalid action '%s' in AI '%s' for class '%s'\n", nm.GetChars(), ai->name.GetChars(), cls->TypeName.GetChars());
|
||||
Printf(TEXTCOLOR_RED "Invalid action '%s' in AI '%s' for class '%s'\n", nm.GetChars(), ai->name.GetChars(), cls->TypeName.GetChars());
|
||||
}
|
||||
ai->action = newaction;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue