- put the entire filesystem code into a namespace and created some subdirectories.
This commit is contained in:
parent
94c9ee4593
commit
ebb71cebf1
108 changed files with 308 additions and 225 deletions
|
|
@ -828,16 +828,16 @@ static int SetupCrouchSprite(AActor *self, int crouchsprite)
|
|||
FString normspritename = sprites[self->SpawnState->sprite].name;
|
||||
FString crouchspritename = sprites[crouchsprite].name;
|
||||
|
||||
int spritenorm = fileSystem.CheckNumForName(normspritename + "A1", ns_sprites);
|
||||
int spritenorm = fileSystem.CheckNumForName(normspritename + "A1", FileSys::ns_sprites);
|
||||
if (spritenorm == -1)
|
||||
{
|
||||
spritenorm = fileSystem.CheckNumForName(normspritename + "A0", ns_sprites);
|
||||
spritenorm = fileSystem.CheckNumForName(normspritename + "A0", FileSys::ns_sprites);
|
||||
}
|
||||
|
||||
int spritecrouch = fileSystem.CheckNumForName(crouchspritename + "A1", ns_sprites);
|
||||
int spritecrouch = fileSystem.CheckNumForName(crouchspritename + "A1", FileSys::ns_sprites);
|
||||
if (spritecrouch == -1)
|
||||
{
|
||||
spritecrouch = fileSystem.CheckNumForName(crouchspritename + "A0", ns_sprites);
|
||||
spritecrouch = fileSystem.CheckNumForName(crouchspritename + "A0", FileSys::ns_sprites);
|
||||
}
|
||||
|
||||
if (spritenorm == -1 || spritecrouch == -1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue