1
0

Bundled fixes [SEE DESC]

* Fixed compiler warning in Monster.cpp
* Future proofed particle effects
* Improved pickups, made less jittery
This commit is contained in:
Tiger Wang
2013-11-10 22:20:25 +00:00
parent 71abbb2f56
commit f713780db3
9 changed files with 24 additions and 19 deletions

View File

@@ -613,7 +613,7 @@ void cChunkMap::BroadcastSoundParticleEffect(int a_EffectID, int a_SrcX, int a_S
cCSLock Lock(m_CSLayers);
int ChunkX, ChunkZ;
cChunkDef::BlockToChunk(a_SrcX / 8, a_SrcZ / 8, ChunkX, ChunkZ);
cChunkDef::BlockToChunk(a_SrcX, a_SrcZ, ChunkX, ChunkZ);
cChunkPtr Chunk = GetChunkNoGen(ChunkX, 0, ChunkZ);
if (Chunk == NULL)
{