Fixed spacing and doxycomments.
This commit is contained in:
parent
00d7317746
commit
11948b1d4b
@ -214,13 +214,13 @@ public:
|
||||
/// Returns the full color code to use for this player, based on their primary group or set in m_Color
|
||||
AString GetColor(void) const;
|
||||
|
||||
// tosses the item in the selected hotbar slot
|
||||
/** tosses the item in the selected hotbar slot */
|
||||
void TossEquippedItem(char a_Amount = 1);
|
||||
|
||||
// tosses the item held in hand (when in UI windows)
|
||||
/** tosses the item held in hand (when in UI windows) */
|
||||
void TossHeldItem(char a_Amount = 1);
|
||||
|
||||
// tosses a pickup newly created from a_Item
|
||||
/** tosses a pickup newly created from a_Item */
|
||||
void TossPickup(const cItem & a_Item);
|
||||
|
||||
/// Heals the player by the specified amount of HPs (positive only); sends health update
|
||||
|
@ -171,7 +171,6 @@ void cWindow::Clicked(
|
||||
)
|
||||
{
|
||||
cPluginManager * PlgMgr = cRoot::Get()->GetPluginManager();
|
||||
|
||||
if (a_WindowID != m_WindowID)
|
||||
{
|
||||
LOGWARNING("%s: Wrong window ID (exp %d, got %d) received from \"%s\"; ignoring click.", __FUNCTION__, m_WindowID, a_WindowID, a_Player.GetName().c_str());
|
||||
@ -187,7 +186,6 @@ void cWindow::Clicked(
|
||||
// A plugin doesn't agree with the tossing. The plugin itself is responsible for handling the consequences (possible inventory mismatch)
|
||||
return;
|
||||
}
|
||||
|
||||
if (a_Player.IsGameModeCreative())
|
||||
{
|
||||
a_Player.TossPickup(a_ClickedItem);
|
||||
|
Loading…
Reference in New Issue
Block a user