Ticket #2996: 0004-Remove-hack.patch

File 0004-Remove-hack.patch, 803 bytes (added by BogDan, 9 years ago)
  • source/ps/GameSetup/GameSetup.cpp

    From 47977bb6e7da43d80f720728f4fae16d86cdda98 Mon Sep 17 00:00:00 2001
    From: BogDan Vatra <bogdan@kde.org>
    Date: Sat, 10 Jan 2015 11:11:09 +0200
    Subject: [PATCH 04/11] Remove hack
    
    ---
     source/ps/GameSetup/GameSetup.cpp | 6 ------
     1 file changed, 6 deletions(-)
    
    diff --git a/source/ps/GameSetup/GameSetup.cpp b/source/ps/GameSetup/GameSetup.cpp
    index 3709648..67f0408 100644
    a b bool Autostart(const CmdLineArgs& args)  
    11861186{
    11871187    CStr autoStartName = args.Get("autostart");
    11881188
    1189 #if OS_ANDROID
    1190     // HACK: currently the most convenient way to test maps on Android;
    1191     // should find a better solution
    1192     autoStartName = "scenarios/Arcadia 02";
    1193 #endif
    1194 
    11951189    if (autoStartName.empty())
    11961190        return false;
    11971191