more '\n' business
From /dev/humancontroller.
This commit is contained in:
parent
4cfbbe506c
commit
945f01d4af
12 changed files with 59 additions and 59 deletions
|
@ -490,7 +490,7 @@ aas_lreachability_t *AAS_AllocReachability(void)
|
|||
|
||||
if (!nextreachability) return NULL;
|
||||
//make sure the error message only shows up once
|
||||
if (!nextreachability->next) AAS_Error("AAS_MAX_REACHABILITYSIZE");
|
||||
if (!nextreachability->next) AAS_Error("AAS_MAX_REACHABILITYSIZE\n");
|
||||
//
|
||||
r = nextreachability;
|
||||
nextreachability = nextreachability->next;
|
||||
|
@ -523,7 +523,7 @@ int AAS_AreaReachability(int areanum)
|
|||
{
|
||||
if (areanum < 0 || areanum >= aasworld.numareas)
|
||||
{
|
||||
AAS_Error("AAS_AreaReachability: areanum %d out of range", areanum);
|
||||
AAS_Error("AAS_AreaReachability: areanum %d out of range\n", areanum);
|
||||
return 0;
|
||||
} //end if
|
||||
return aasworld.areasettings[areanum].numreachableareas;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue