hudecho can be disabled
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6397 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -270,12 +270,16 @@ void echo(char *text)
|
||||
while(s);
|
||||
}
|
||||
|
||||
VARP(allowhudechos, 0, 1, 1);
|
||||
void hudecho(char *text)
|
||||
{
|
||||
const char *s = strtok(text, "\n");
|
||||
do
|
||||
{
|
||||
hudoutf("%s", s ? s : "");
|
||||
if(allowhudechos)
|
||||
hudoutf("%s", s ? s : "");
|
||||
else
|
||||
conoutf("%s", s ? s : "");
|
||||
s = strtok(NULL, "\n");
|
||||
}
|
||||
while(s);
|
||||
|
||||
Reference in New Issue
Block a user