1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-15 01:24:45 +02:00

introduce VCMI_MOBILE macro

This commit is contained in:
Andrey Filipenkov
2023-02-27 13:00:13 +03:00
parent 299bf93390
commit fd56f86a84
11 changed files with 31 additions and 27 deletions

View File

@ -24,7 +24,7 @@ std::unique_ptr<ICursor> CursorHandler::createCursor()
{
if (settings["video"]["cursor"].String() == "auto")
{
#if defined(VCMI_ANDROID) || defined(VCMI_IOS)
#if defined(VCMI_MOBILE)
return std::make_unique<CursorSoftware>();
#else
return std::make_unique<CursorHardware>();