* Applied ajax's cleanup patch
This commit is contained in:
1 parent
4c6f59c541
commit
fe14a45ad1
40 files changed
+166
-166
No files matched your search
@@ -305,7 +305,7 @@ char *AAS_LoadAASLump(fileHandle_t fp, int offset, int length, int *lastoffset,
|
||||
AAS_Error("can't seek to aas lump\n");
|
||||
AAS_DumpAASData();
|
||||
botimport.FS_FCloseFile(fp);
|
||||
return 0;
|
||||
return NULL;
|
||||
} //end if
|
||||
} //end if
|
||||
//allocate memory
|
||||
|
||||
@@ -1388,7 +1388,7 @@ int AAS_AreaInfo( int areanum, aas_areainfo_t *info )
|
||||
//===========================================================================
|
||||
aas_plane_t *AAS_PlaneFromNum(int planenum)
|
||||
{
|
||||
if (!aasworld.loaded) return 0;
|
||||
if (!aasworld.loaded) return NULL;
|
||||
|
||||
return &aasworld.planes[planenum];
|
||||
} //end of the function AAS_PlaneFromNum
|
||||
@@ -146,7 +146,7 @@ fielddef_t iteminfo_fields[] =
|
||||
{"respawntime", ITEMINFO_OFS(respawntime), FT_FLOAT},
|
||||
{"mins", ITEMINFO_OFS(mins), FT_FLOAT|FT_ARRAY, 3},
|
||||
{"maxs", ITEMINFO_OFS(maxs), FT_FLOAT|FT_ARRAY, 3},
|
||||
{0, 0, 0}
|
||||
{NULL, 0, 0}
|
||||
};
|
||||
|
||||
structdef_t iteminfo_struct =
|
||||
|
||||
Reference in new issue
Block a user