From 896b43b80b7f1db2d5add42e6349a4edd4fd8847 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 28 Aug 2017 16:09:27 +0300 Subject: Fix compilation warning without tmwa support. --- src/actions/commands.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/actions') diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp index 1ed0d3c81..f2d49b13b 100644 --- a/src/actions/commands.cpp +++ b/src/actions/commands.cpp @@ -555,8 +555,8 @@ impHandler(imitation) impHandler(sendMail) { - const ServerTypeT type = Net::getNetworkType(); #ifdef TMWA_SUPPORT + const ServerTypeT type = Net::getNetworkType(); if (type == ServerType::EATHENA || type == ServerType::EVOL2) #endif // TMWA_SUPPORT { -- cgit v1.2.3-60-g2f50