- Fixed: GCC warnings.
SVN r2843 (trunk)
This commit is contained in:
parent
1e83634089
commit
15d74dab56
9 changed files with 16 additions and 15 deletions
|
|
@ -1200,6 +1200,7 @@ FMultiPatchTexture::FMultiPatchTexture (FScanner &sc, int usetype)
|
|||
bMultiPatch = true;
|
||||
sc.SetCMode(true);
|
||||
sc.MustGetString();
|
||||
const char* textureName = NULL;
|
||||
if (sc.Compare("optional"))
|
||||
{
|
||||
bSilent = true;
|
||||
|
|
@ -1208,11 +1209,11 @@ FMultiPatchTexture::FMultiPatchTexture (FScanner &sc, int usetype)
|
|||
{
|
||||
// this is not right. Apparently a texture named 'optional' is being defined right now...
|
||||
sc.UnGet();
|
||||
sc.String = "optional";
|
||||
textureName = "optional";
|
||||
bSilent = false;
|
||||
}
|
||||
}
|
||||
uppercopy(Name, sc.String);
|
||||
uppercopy(Name, !textureName ? sc.String : textureName);
|
||||
Name[8] = 0;
|
||||
sc.MustGetStringName(",");
|
||||
sc.MustGetNumber();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue