Skip to content

Commit d400c38

Browse files
Merge branch 'etternalmemestatus' of https://github.com/etternagame/etterna.git into etternalmemestatus
2 parents c5463c9 + 920d502 commit d400c38

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/RageDisplay_D3D.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,7 @@ class RageCompiledGeometrySWD3D : public RageCompiledGeometry
857857
meshInfo.iVertexCount, // NumVertices
858858
meshInfo.iTriangleCount, // PrimitiveCount,
859859
&m_vTriangles[0]+meshInfo.iTriangleStart,// pIndexData,
860-
D3DFMT_INDEX32, // IndexDataFormat,
860+
D3DFMT_INDEX16, // IndexDataFormat,
861861
&m_vVertex[0], // pVertexStreamZeroData,
862862
sizeof(m_vVertex[0]) // VertexStreamZeroStride
863863
);

src/Song.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1068,6 +1068,10 @@ void Song::ReCalculateRadarValuesAndLastSecond(bool fromCache, bool duringCache)
10681068
for (auto& n : m_vpSteps) {
10691069
// Cache etterna stuff and 'radar values'
10701070

1071+
// Skip difficulties without notes
1072+
if (n->IsNoteDataEmpty())
1073+
continue;
1074+
10711075
// only ever decompress the notedata when writing the cache file
10721076
// for this we don't use the etterna compressed format -mina
10731077
n->Decompress();

0 commit comments

Comments
 (0)