mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-20 04:09:16 +00:00
Update2 for MSVC10
Add missing type specifiers.
This commit is contained in:
@ -108,7 +108,7 @@ void plLODMipmap::SetLOD(int lod)
|
||||
{
|
||||
hsAssert(fBase, "UnInitialized");
|
||||
|
||||
const kMaxLOD = 5;
|
||||
const int kMaxLOD = 5;
|
||||
if( lod > kMaxLOD )
|
||||
lod = kMaxLOD;
|
||||
if( lod >= fBase->GetNumLevels() )
|
||||
|
@ -207,7 +207,7 @@ UInt32 plMipmap::Read( hsStream *s )
|
||||
|
||||
// Decide to clamp if we were told to
|
||||
int clampBy = fGlobalNumLevelsToChop;
|
||||
const kMaxSkipLevels = 1;
|
||||
const int kMaxSkipLevels = 1;
|
||||
if( clampBy > kMaxSkipLevels )
|
||||
clampBy = kMaxSkipLevels;
|
||||
if( fFlags & kNoMaxSize )
|
||||
|
Reference in New Issue
Block a user