Minor no-op changes for the compiler and/or XNA
This commit is contained in:
parent
430335c47a
commit
3cf99bb34f
@ -117,9 +117,7 @@ namespace TrueCraft.Client
|
||||
public void PlayPack(string pack, float volume = 1.0f)
|
||||
{
|
||||
var i = MathHelper.Random.Next(0, AudioPacks[pack].Length);
|
||||
var instance = AudioPacks[pack][i].CreateInstance();
|
||||
instance.Volume = volume * EffectVolume;
|
||||
instance.Play();
|
||||
AudioPacks[pack][i].Play(volume * EffectVolume, 1.0f, 0.0f);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
namespace TrueCraft.Client.Events
|
||||
{
|
||||
public class ChunkEventArgs
|
||||
public class ChunkEventArgs : EventArgs
|
||||
{
|
||||
public ReadOnlyChunk Chunk { get; set; }
|
||||
|
||||
|
@ -411,7 +411,7 @@ namespace TrueCraft.Client
|
||||
GraphicsDevice.SetRenderTarget(null);
|
||||
|
||||
SpriteBatch.Begin();
|
||||
SpriteBatch.Draw(RenderTarget, new Vector2(0));
|
||||
SpriteBatch.Draw(RenderTarget, Vector2.Zero, Color.White);
|
||||
SpriteBatch.End();
|
||||
|
||||
base.Draw(gameTime);
|
||||
|
Reference in New Issue
Block a user