fixed linux build for menu natives

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40797
This commit is contained in:
David Anderson 2007-05-14 04:48:03 +00:00
parent 49369d07bc
commit 2af178229d
3 changed files with 2 additions and 3 deletions

View File

@ -28,7 +28,7 @@ OBJECTS += smn_admin.cpp smn_bitbuffer.cpp smn_console.cpp smn_core.cpp \
smn_datapacks.cpp smn_entities.cpp smn_events.cpp smn_fakenatives.cpp \ smn_datapacks.cpp smn_entities.cpp smn_events.cpp smn_fakenatives.cpp \
smn_filesystem.cpp smn_float.cpp smn_functions.cpp smn_gameconfigs.cpp smn_halflife.cpp smn_handles.cpp smn_keyvalues.cpp \ smn_filesystem.cpp smn_float.cpp smn_functions.cpp smn_gameconfigs.cpp smn_halflife.cpp smn_handles.cpp smn_keyvalues.cpp \
smn_lang.cpp smn_player.cpp smn_string.cpp smn_sorting.cpp smn_textparse.cpp smn_timers.cpp \ smn_lang.cpp smn_player.cpp smn_string.cpp smn_sorting.cpp smn_textparse.cpp smn_timers.cpp \
smn_usermsgs.cpp smn_usermsgs.cpp smn_menus.cpp
OBJECTS += systems/ExtensionSys.cpp systems/ForwardSys.cpp systems/HandleSys.cpp \ OBJECTS += systems/ExtensionSys.cpp systems/ForwardSys.cpp systems/HandleSys.cpp \
systems/LibrarySys.cpp systems/PluginInfoDatabase.cpp systems/PluginSys.cpp \ systems/LibrarySys.cpp systems/PluginInfoDatabase.cpp systems/PluginSys.cpp \
systems/ShareSys.cpp vm/sp_vm_basecontext.cpp vm/sp_vm_engine.cpp \ systems/ShareSys.cpp vm/sp_vm_basecontext.cpp vm/sp_vm_engine.cpp \

View File

@ -122,9 +122,9 @@ protected:
bool m_ExitButton; bool m_ExitButton;
bool m_bShouldDelete; bool m_bShouldDelete;
bool m_bCancelling; bool m_bCancelling;
IdentityToken_t *m_pOwner;
bool m_bDeleting; bool m_bDeleting;
bool m_bWillFreeHandle; bool m_bWillFreeHandle;
IdentityToken_t *m_pOwner;
Handle_t m_hHandle; Handle_t m_hHandle;
IMenuHandler *m_pHandler; IMenuHandler *m_pHandler;
}; };

View File

@ -124,7 +124,6 @@ public:
*/ */
virtual void OnPluginUnloaded(IPlugin *plugin) virtual void OnPluginUnloaded(IPlugin *plugin)
{ {
IPluginContext *pContext = plugin->GetBaseContext();
for (size_t i = 0; i < m_PanelHandlers.size(); i++) for (size_t i = 0; i < m_PanelHandlers.size(); i++)
{ {
if (m_PanelHandlers[i]->m_pPlugin == plugin) if (m_PanelHandlers[i]->m_pPlugin == plugin)