diff options
Diffstat (limited to 'code/botlib/be_aas_sample.c')
-rw-r--r-- | code/botlib/be_aas_sample.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/code/botlib/be_aas_sample.c b/code/botlib/be_aas_sample.c index 68806eb..f12b5e0 100644 --- a/code/botlib/be_aas_sample.c +++ b/code/botlib/be_aas_sample.c @@ -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 |