mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 08:34:40 +00:00
Review fixes
This commit is contained in:
parent
3205fea936
commit
f67a0353d0
3 changed files with 5 additions and 7 deletions
|
|
@ -472,7 +472,7 @@ S32 dSscanf(const char *buffer, const char *format, ...)
|
||||||
#else
|
#else
|
||||||
va_list args;
|
va_list args;
|
||||||
va_start(args, format);
|
va_start(args, format);
|
||||||
int res = vsscanf(buffer, format, args);
|
S32 res = vsscanf(buffer, format, args);
|
||||||
va_end(args);
|
va_end(args);
|
||||||
return res;
|
return res;
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -63,10 +63,10 @@ BasicClouds::BasicClouds()
|
||||||
mTypeMask |= EnvironmentObjectType | StaticObjectType;
|
mTypeMask |= EnvironmentObjectType | StaticObjectType;
|
||||||
mNetFlags.set(Ghostable | ScopeAlways);
|
mNetFlags.set(Ghostable | ScopeAlways);
|
||||||
|
|
||||||
mTimeSC =
|
mTimeSC = 0;
|
||||||
mModelViewProjSC =
|
mModelViewProjSC = 0;
|
||||||
mTexScaleSC =
|
mTexScaleSC = 0;
|
||||||
mTexDirectionSC =
|
mTexDirectionSC = 0;
|
||||||
mTexOffsetSC = 0;
|
mTexOffsetSC = 0;
|
||||||
|
|
||||||
mLayerEnabled[0] = true;
|
mLayerEnabled[0] = true;
|
||||||
|
|
|
||||||
|
|
@ -606,8 +606,6 @@ bool DDSFile::read(Stream &s, U32 dropMipCount)
|
||||||
mPitchOrLinearSize = getSurfaceSize( dropMipCount );
|
mPitchOrLinearSize = getSurfaceSize( dropMipCount );
|
||||||
else if ( mFlags.test( PitchSizeFlag ) )
|
else if ( mFlags.test( PitchSizeFlag ) )
|
||||||
mPitchOrLinearSize = getSurfacePitch( dropMipCount );
|
mPitchOrLinearSize = getSurfacePitch( dropMipCount );
|
||||||
else
|
|
||||||
; // Do nothing?
|
|
||||||
|
|
||||||
// Now fix up the rest of the
|
// Now fix up the rest of the
|
||||||
mMipMapCount = getMax( (U32)1, mMipMapCount - dropMipCount );
|
mMipMapCount = getMax( (U32)1, mMipMapCount - dropMipCount );
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue