1
0

Changed cLuaWindow callbacks to use cLuaState::cCallback.

This commit is contained in:
Mattes D
2016-06-10 21:30:07 +02:00
parent a473725121
commit fb4c3fc4d9
7 changed files with 245 additions and 185 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);
}