forked from metin-server/m2dev-client-src
small fix for x64
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
#include "StdAfx.h"
|
||||
#include "Material.h"
|
||||
#include "Mesh.h"
|
||||
#include "../eterbase/Filename.h"
|
||||
#include "../eterlib/ResourceManager.h"
|
||||
#include "../eterlib/StateManager.h"
|
||||
#include "../eterlib/GrpScreen.h"
|
||||
#include "Eterbase/Filename.h"
|
||||
#include "Eterlib/ResourceManager.h"
|
||||
#include "Eterlib/StateManager.h"
|
||||
#include "Eterlib/GrpScreen.h"
|
||||
|
||||
CGraphicImageInstance CGrannyMaterial::ms_akSphereMapInstance[SPHEREMAP_NUM];
|
||||
|
||||
|
||||
@@ -196,7 +196,7 @@ bool CGrannyModel::LoadMeshs()
|
||||
}
|
||||
m_bHaveBlendThing |= rMesh.HaveBlendThing();
|
||||
|
||||
granny_int32x grni32xTypeCount = GrannyGetTotalTypeSize(pgrnMesh->PrimaryVertexData->VertexType) / 32;
|
||||
granny_int32x grni32xTypeCount = GrannyGetTotalTypeSize(pgrnMesh->PrimaryVertexData->VertexType) / sizeof(granny_vertex_data);
|
||||
int i = 0;
|
||||
while (i < grni32xTypeCount)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user