Started work on flamethrower sounds, also increased efficiency of SoundHandler (now loops over sounds only once instead of twice)

This commit is contained in:
Aidan C. Brady committed 2014-07-15 01:09:38 -04:00
1 parent f9fdb56e24
commit cdeb25803c
5 files changed
+102 -20

No files matched your search

@@ -25,7 +25,11 @@ public abstract class PlayerSound extends Sound
@Override
public boolean update(World world)
{
if(player.isDead)
if(!super.update(world))
{
return false;
}
else if(player.isDead)
{
return false;
}