diff --git a/cmake/FindAngelscript.cmake b/cmake/FindAngelscript.cmake index 09020c319..8cfa56bd9 100644 --- a/cmake/FindAngelscript.cmake +++ b/cmake/FindAngelscript.cmake @@ -14,11 +14,11 @@ FIND_PATH(Angelscript_INCLUDE_DIRS angelscript.h ) FIND_LIBRARY(Angelscript_LIBRARY - NAMES angelscript + NAMES angelscript angelscript_s PATHS /usr/local /usr - PATH_SUFFIXES lib + PATH_SUFFIXES lib lib64 lib32 ) # handle the QUIETLY and REQUIRED arguments and set ANGELSCRIPT_FOUND to TRUE if diff --git a/src/config/saved_grand_prix.cpp b/src/config/saved_grand_prix.cpp index 98f57a729..ffaf84dcc 100644 --- a/src/config/saved_grand_prix.cpp +++ b/src/config/saved_grand_prix.cpp @@ -181,5 +181,7 @@ void SavedGrandPrix::loadKarts(std::vector & kart_list) } // if m_local_player_id == -1 } // for i - std::sort(kart_list.begin(), kart_list.end(), cmp__l); + // The line below causes issues in follow the leader race. The leader + // is not at first place anymore. + // std::sort(kart_list.begin(), kart_list.end(), cmp__l); } // loadKarts