mapsound fadeout fix, winservice init fix
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3630 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -19,7 +19,12 @@ struct winservice : servercontroller
|
||||
HANDLE stopevent;
|
||||
const char *name;
|
||||
|
||||
winservice(const char *name) : name(name) { callbacks::svc = this; };
|
||||
winservice(const char *name) : name(name)
|
||||
{
|
||||
callbacks::svc = this;
|
||||
statushandle = 0;
|
||||
};
|
||||
|
||||
~winservice()
|
||||
{
|
||||
if(status.dwCurrentState != SERVICE_STOPPED) stop();
|
||||
|
||||
Reference in New Issue
Block a user