realised half way through that I don't even need a new action type, oops

This commit is contained in:
Alex Noir
2017-12-10 13:45:12 +03:00
parent 00653c5aa4
commit 1d6d1a066f
4 changed files with 4 additions and 50 deletions
@@ -290,13 +290,6 @@ namespace Barotrauma.Items.Components
return false;
}
//called when the item is used via the HUD button
//returns true if the item was used succesfully (not out of ammo, reloading, etc)
public virtual bool HudUse(float deltaTime, Character character = null)
{
return false;
}
//called when the item is equipped and right mouse button is pressed
public virtual void Aim(float deltaTime, Character character = null) { }