1
0

Changed cLuaWindow callbacks to use cLuaState::cCallback.

This commit is contained in:
Mattes D
2016-03-16 10:58:28 +01:00
parent 5dfcc15d1f
commit af200dfaae
7 changed files with 244 additions and 184 deletions

View File

@@ -307,7 +307,7 @@ bool cWindow::ClosedByPlayer(cPlayer & a_Player, bool a_CanRefuse)
// Checks whether the player is still holding an item
if (!a_Player.GetDraggingItem().IsEmpty())
{
LOGD("Player holds item! Dropping it...");
LOGD("Player is holding an item while closing their window, dropping it as a pickup...");
a_Player.TossHeldItem(a_Player.GetDraggingItem().m_ItemCount);
}