diff --git a/src/game/src/arena.cpp b/src/game/src/arena.cpp index d9106ab..e3172bd 100644 --- a/src/game/src/arena.cpp +++ b/src/game/src/arena.cpp @@ -1097,8 +1097,3 @@ bool CArena::RegisterObserverPtr(LPCHARACTER pChar) return true; } -bool CArenaManager::IsLimitedItem( int lMapIndex, DWORD dwVnum ) -{ - return false; -} - diff --git a/src/game/src/arena.h b/src/game/src/arena.h index 7d683d8..833655a 100644 --- a/src/game/src/arena.h +++ b/src/game/src/arena.h @@ -131,8 +131,6 @@ class CArenaManager : public singleton bool IsArenaMap(DWORD dwMapIndex); MEMBER_IDENTITY IsMember(DWORD dwMapIndex, DWORD PID); - - bool IsLimitedItem( int lMapIndex, DWORD dwVnum ); }; #endif /*__CLASS_ARENA_MANAGER__*/ diff --git a/src/game/src/char_item.cpp b/src/game/src/char_item.cpp index f6e7a2b..057c7e9 100644 --- a/src/game/src/char_item.cpp +++ b/src/game/src/char_item.cpp @@ -1632,12 +1632,6 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) SPDLOG_TRACE("USE_ITEM {}, Inven {}, Cell {}, ItemType {}, SubType {}", item->GetName(), bDestInven, wDestCell, item->GetType(), item->GetSubType()); - if ( CArenaManager::instance().IsLimitedItem( GetMapIndex(), item->GetVnum() ) == true ) - { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot use this item in a duel.")); - return false; - } - // 아이템 최초 사용 이후부터는 사용하지 않아도 시간이 차감되는 방식 처리. if (-1 != iLimitRealtimeStartFirstUseFlagIndex) {