comparison ParticleEngine.cpp @ 48:ca142e247b73

temporary commit, remove crashes
author zipi
date Mon, 21 Jan 2013 18:57:56 +0000
parents a9e9c6989d04
children 2ee78ed62d37 b9d70af644f3
comparison
equal deleted inserted replaced
47:5629105aa178 48:ca142e247b73
91 void ParticleEngine::Draw() 91 void ParticleEngine::Draw()
92 { 92 {
93 uTimeElapsed += pEventTimer->uTimeElapsed; 93 uTimeElapsed += pEventTimer->uTimeElapsed;
94 pLines.uNumLines = 0; 94 pLines.uNumLines = 0;
95 95
96 if (uCurrentlyLoadedLevelType == LEVEL_Indoor) 96 //if (uCurrentlyLoadedLevelType == LEVEL_Indoor)
97 DrawParticles_BLV(); 97 //DrawParticles_BLV();
98 else 98 //else
99 DrawParticles_ODM(); 99 //DrawParticles_ODM();
100 100
101 if (pRenderer->pRenderD3D) 101 if (pRenderer->pRenderD3D)
102 { 102 {
103 if (pLines.uNumLines) 103 if (pLines.uNumLines)
104 { 104 {