mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-11-28 08:44:21 +00:00
Use APP_VERSION_AT_LEAST in a couple other places
This commit is contained in:
1 parent
b282c7e603
commit
af1dbfe505
2 files changed
+2
-4
No files matched your search
+1
-1
@@ -465,7 +465,7 @@ static int sendEnableHaptics(void) {
|
||||
|
||||
// Avoid sending this on earlier server versions, since they may terminate
|
||||
// the connection upon receiving an unexpected packet.
|
||||
if (AppVersionQuad[0] < 7 || (AppVersionQuad[0] == 7 && AppVersionQuad[1] < 1)) {
|
||||
if (!APP_VERSION_AT_LEAST(7, 1, 0)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user