mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 07:09:00 +00:00
silly mistake in CFileLoader
This commit is contained in:
parent
3b64bd1b4a
commit
d5beaee746
1 changed files with 2 additions and 2 deletions
|
@ -99,7 +99,7 @@ CFileLoader::LoadLevel(const char *filename)
|
|||
objectsLoaded = true;
|
||||
}
|
||||
LoadingScreenLoadingFile(line + 4);
|
||||
LoadObjectInstance(line + 4);
|
||||
LoadScene(line + 4);
|
||||
}else if(strncmp(line, "MAPZONE", 7) == 0){
|
||||
LoadingScreenLoadingFile(line + 8);
|
||||
LoadMapZones(line + 8);
|
||||
|
@ -1146,7 +1146,7 @@ CFileLoader::LoadMapZones(const char *filename)
|
|||
|
||||
STARTPATCHES
|
||||
// this makes my game crash in CGarage!
|
||||
//InjectHook(0x476290, CFileLoader::LoadLevel, PATCH_JUMP);
|
||||
InjectHook(0x476290, CFileLoader::LoadLevel, PATCH_JUMP);
|
||||
|
||||
InjectHook(0x476520, CFileLoader::LoadCollisionFromDatFile, PATCH_JUMP);
|
||||
InjectHook(0x4761D0, CFileLoader::LoadLine, PATCH_JUMP);
|
||||
|
|
Loading…
Reference in a new issue