diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2014-04-10 19:33:27 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2014-04-10 19:33:27 +0000 |
commit | ab05a30ab1f725e421287bf8158508c3ba3eddd3 (patch) | |
tree | ccbbd21993e21a9e8a6d358d0216e980b1818e65 /protocols/Steam/src/steam_proto.cpp | |
parent | a1ef91459fb0a353c9919c1b8ff349efdf162b3c (diff) |
Steam: small fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@8938 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Steam/src/steam_proto.cpp')
-rw-r--r-- | protocols/Steam/src/steam_proto.cpp | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/protocols/Steam/src/steam_proto.cpp b/protocols/Steam/src/steam_proto.cpp index 94e592e2fb..771d80e96b 100644 --- a/protocols/Steam/src/steam_proto.cpp +++ b/protocols/Steam/src/steam_proto.cpp @@ -106,6 +106,8 @@ DWORD_PTR __cdecl CSteamProto:: GetCaps(int type, MCONTACT hContact) return PF2_ONLINE;
case PFLAGNUM_4:
return PF4_AVATARS;
+ case PFLAGNUM_5:
+ return PF2_SHORTAWAY | PF2_HEAVYDND | PF2_OUTTOLUNCH;
case PFLAG_UNIQUEIDTEXT:
return (DWORD_PTR)Translate("SteamID");
case PFLAG_UNIQUEIDSETTING:
@@ -236,19 +238,19 @@ int CSteamProto::SetStatus(int new_status) m_iStatus = ID_STATUS_CONNECTING;
ForkThread(&CSteamProto::LogInThread, NULL);
}
- else
- {
- if (IsOnline())
- {
- ForkThread(&CSteamProto::SetServerStatusThread, &new_status);
+ //else
+ //{
+ //if (IsOnline())
+ //{
+ // ForkThread(&CSteamProto::SetServerStatusThread, (void*)new_status);
- return 0;
- }
+ // return 0;
+ //}
- ProtoBroadcastAck(NULL, ACKTYPE_STATUS, ACKRESULT_SUCCESS, (HANDLE)old_status, m_iStatus);
+ //ProtoBroadcastAck(NULL, ACKTYPE_STATUS, ACKRESULT_SUCCESS, (HANDLE)old_status, m_iStatus);
- return 0;
- }
+ //return 0;
+ //}
}
ProtoBroadcastAck(NULL, ACKTYPE_STATUS, ACKRESULT_SUCCESS, (HANDLE)old_status, m_iStatus);
|