summaryrefslogtreecommitdiffstats
path: root/src/FileLoader.cpp
diff options
context:
space:
mode:
authorFilip Gawin <filip.gawin@zoho.com>2019-06-30 12:53:39 +0200
committerFilip Gawin <filip.gawin@zoho.com>2019-06-30 12:56:50 +0200
commit2115faec3867ada3a07aa7900ea0a871529343f3 (patch)
treee168d9dc0fdccb8062055a2fc312fb39f8ea3b0c /src/FileLoader.cpp
parentfix (diff)
downloadre3-2115faec3867ada3a07aa7900ea0a871529343f3.tar
re3-2115faec3867ada3a07aa7900ea0a871529343f3.tar.gz
re3-2115faec3867ada3a07aa7900ea0a871529343f3.tar.bz2
re3-2115faec3867ada3a07aa7900ea0a871529343f3.tar.lz
re3-2115faec3867ada3a07aa7900ea0a871529343f3.tar.xz
re3-2115faec3867ada3a07aa7900ea0a871529343f3.tar.zst
re3-2115faec3867ada3a07aa7900ea0a871529343f3.zip
Diffstat (limited to 'src/FileLoader.cpp')
-rw-r--r--src/FileLoader.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/FileLoader.cpp b/src/FileLoader.cpp
index 8213a5c7..8bc6ad11 100644
--- a/src/FileLoader.cpp
+++ b/src/FileLoader.cpp
@@ -38,7 +38,7 @@ void
LoadingScreenLoadingFile(const char *filename)
{
sprintf(gString, "Loading %s", GetFilename(filename));
- LoadingScreen("Loading the Game", gString, 0);
+ LoadingScreen("Loading the Game", gString, nil);
}
void
@@ -144,7 +144,7 @@ CFileLoader::LoadLine(int fd)
int i;
char *line;
- if(CFileMgr::ReadLine(fd, ms_line, 256) == nil)
+ if(CFileMgr::ReadLine(fd, ms_line, 256) == false)
return nil;
for(i = 0; ms_line[i] != '\0'; i++)
if(ms_line[i] < ' ' || ms_line[i] == ',')
@@ -311,7 +311,7 @@ CFileLoader::FindRelatedModelInfoCB(RpAtomic *atomic, void *data)
nodename = GetFrameNodeName(RpClumpGetFrame(atomic));
GetNameAndLOD(nodename, name, &n);
- mi = (CSimpleModelInfo*)CModelInfo::GetModelInfo(name, 0);
+ mi = (CSimpleModelInfo*)CModelInfo::GetModelInfo(name, nil);
if(mi){
assert(mi->IsSimple());
mi->SetAtomic(n, atomic);
@@ -360,7 +360,7 @@ CFileLoader::LoadClumpFile(const char *filename)
if(clump){
nodename = GetFrameNodeName(RpClumpGetFrame(clump));
GetNameAndLOD(nodename, name, &n);
- mi = (CClumpModelInfo*)CModelInfo::GetModelInfo(name, 0);
+ mi = (CClumpModelInfo*)CModelInfo::GetModelInfo(name, nil);
assert(mi->IsClump());
if(mi)
mi->SetClump(clump);
@@ -457,7 +457,7 @@ CFileLoader::SetRelatedModelInfoCB(RpAtomic *atomic, void *data)
RpClumpRemoveAtomic(clump, atomic);
RpAtomicSetFrame(atomic, RwFrameCreate());
CVisibilityPlugins::SetAtomicModelInfo(atomic, gpRelatedModelInfo);
- CVisibilityPlugins::SetAtomicRenderCallback(atomic, 0);
+ CVisibilityPlugins::SetAtomicRenderCallback(atomic, nil);
return atomic;
}