--- a/.hgtags Sun Dec 29 15:08:52 2013 +0400
+++ b/.hgtags Sun Dec 29 12:36:16 2013 +0100
@@ -60,3 +60,4 @@
0000000000000000000000000000000000000000 0.9.18-release
2fc02902c7cbf3c29bfe08a50e5f37983582b251 0.9.18-release
1617149e01a4fa25637e2ab655d0287ef9c21b7c 0.9.19-release
+2b8f928faa1470858190cd9724b9ceed2a887358 0.9.20-release
--- a/CMakeLists.txt Sun Dec 29 15:08:52 2013 +0400
+++ b/CMakeLists.txt Sun Dec 29 12:36:16 2013 +0100
@@ -43,7 +43,7 @@
set(CPACK_PACKAGE_VERSION_MAJOR 0)
set(CPACK_PACKAGE_VERSION_MINOR 9)
set(CPACK_PACKAGE_VERSION_PATCH 20)
-set(HEDGEWARS_PROTO_VER 47)
+set(HEDGEWARS_PROTO_VER 46)
set(HEDGEWARS_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
include(${CMAKE_MODULE_PATH}/revinfo.cmake)
--- a/QTfrontend/CMakeLists.txt Sun Dec 29 15:08:52 2013 +0400
+++ b/QTfrontend/CMakeLists.txt Sun Dec 29 12:36:16 2013 +0100
@@ -61,8 +61,8 @@
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/util/platform)
include_directories(${SDL_INCLUDE_DIR})
include_directories(${SDLMIXER_INCLUDE_DIR})
-include_directories(${PHYSFS_INCLUDE_DIR})
-include_directories(${PHYSLAYER_INCLUDE_DIR})
+include_directories(BEFORE ${PHYSFS_INCLUDE_DIR})
+include_directories(BEFORE ${PHYSLAYER_INCLUDE_DIR})
if(UNIX)
--- a/QTfrontend/ui/page/pagemain.cpp Sun Dec 29 15:08:52 2013 +0400
+++ b/QTfrontend/ui/page/pagemain.cpp Sun Dec 29 12:36:16 2013 +0100
@@ -158,7 +158,7 @@
#else
int platform = 3;
#endif
- if(Tips.length() == 0)
+ if(!Tips.length())
{
DataManager & dataMgr = DataManager::instance();
@@ -209,7 +209,11 @@
file.close();
}
- return Tips[QTime(0, 0, 0).secsTo(QTime::currentTime()) % Tips.length()];
+
+ if(Tips.length())
+ return Tips[QTime(0, 0, 0).secsTo(QTime::currentTime()) % Tips.length()];
+ else
+ return QString();
}
void PageMain::toggleNetworkChoice()
--- a/hedgewars/uGearsHandlersMess.pas Sun Dec 29 15:08:52 2013 +0400
+++ b/hedgewars/uGearsHandlersMess.pas Sun Dec 29 12:36:16 2013 +0100
@@ -3008,6 +3008,8 @@
FollowGear := Gear;
+ Gear^.dY:= cMaxWindSpeed * 100;
+
Gear^.doStep := @doStepCakeFall
end;
--- a/misc/libphysfs/platform_unix.c Sun Dec 29 15:08:52 2013 +0400
+++ b/misc/libphysfs/platform_unix.c Sun Dec 29 12:36:16 2013 +0100
@@ -193,7 +193,7 @@
if (access(exe, X_OK) == 0) /* Exists as executable? We're done. */
{
- exe[size - binlen] = '\0'; /* chop off filename, leave '/' */
+ exe[size - binlen - 1] = '\0'; /* chop off filename, leave '/' */
return exe;
} /* if */