1.1 --- a/sourcemm/CPlugin.cpp Sat Apr 16 23:35:37 2005 +0000
1.2 +++ b/sourcemm/CPlugin.cpp Sun Apr 17 03:37:50 2005 +0000
1.3 @@ -261,6 +261,9 @@
1.4 if (pl->m_API->Pause(error, maxlen))
1.5 {
1.6 g_SourceHook.PausePlugin(pl->m_Id);
1.7 + pl->m_Status = Pl_Paused;
1.8 +
1.9 + return true;
1.10 }
1.11 }
1.12
1.13 @@ -280,6 +283,9 @@
1.14 if (pl->m_API->Unpause(error, maxlen))
1.15 {
1.16 g_SourceHook.UnpausePlugin(pl->m_Id);
1.17 + pl->m_Status = Pl_Running;
1.18 +
1.19 + return true;
1.20 }
1.21 }
1.22