forked from metin2/server
WIP: rewrite the network stack to use libevent
This commit is contained in:
@@ -243,18 +243,18 @@ namespace quest
|
||||
|
||||
if (!npc || npc->IsPC())
|
||||
{
|
||||
lua_pushboolean(L, TRUE);
|
||||
lua_pushboolean(L, true);
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (npc->GetQuestNPCID() == 0 || npc->GetQuestNPCID() == ch->GetPlayerID())
|
||||
{
|
||||
npc->SetQuestNPCID(ch->GetPlayerID());
|
||||
lua_pushboolean(L, TRUE);
|
||||
lua_pushboolean(L, true);
|
||||
}
|
||||
else
|
||||
{
|
||||
lua_pushboolean(L, FALSE);
|
||||
lua_pushboolean(L, true);
|
||||
}
|
||||
|
||||
return 1;
|
||||
|
Reference in New Issue
Block a user