merge from .20 again
authorkoda
Tue, 31 Dec 2013 01:33:49 +0100
changeset 9888 1c02143bfe9c
parent 9884 6e09ca662fa3 (diff)
parent 9886 af0520a6bf00 (current diff)
child 9890 c9dc04e325e3
merge from .20 again
--- a/cmake_modules/cpackvars.cmake	Tue Dec 31 00:32:55 2013 +0100
+++ b/cmake_modules/cpackvars.cmake	Tue Dec 31 01:33:49 2013 +0100
@@ -89,6 +89,8 @@
 #    "^${CMAKE_CURRENT_SOURCE_DIR}/project_files/cmdlineClient"
     "^${CMAKE_CURRENT_SOURCE_DIR}/misc/winutils/bin"
     "^${CMAKE_CURRENT_SOURCE_DIR}/project_files/promotional_art"
+    "^${CMAKE_CURRENT_SOURCE_DIR}/project_files/AudioMono"
+    "^${CMAKE_CURRENT_SOURCE_DIR}/project_files/HedgewarsMobile"
     "^${CMAKE_CURRENT_SOURCE_DIR}/tools/templates"
     "^${CMAKE_CURRENT_SOURCE_DIR}/tools/drawMapTest"
     "^${CMAKE_CURRENT_SOURCE_DIR}/doc"
--- a/gameServer/CoreTypes.hs	Tue Dec 31 00:32:55 2013 +0100
+++ b/gameServer/CoreTypes.hs	Tue Dec 31 01:33:49 2013 +0100
@@ -253,7 +253,7 @@
         True
         "<h2><p align=center><a href=\"http://www.hedgewars.org/\">http://www.hedgewars.org/</a></p></h2>"
         "<font color=yellow><h3 align=center>Hedgewars 0.9.19 is out! Please update.</h3><p align=center><a href=http://hedgewars.org/download.html>Download page here</a></font>"
-        45 -- latestReleaseVersion
+        47 -- latestReleaseVersion
         41 -- earliestCompatibleVersion
         46631
         ""
--- a/gameServer/OfficialServer/extdbinterface.hs	Tue Dec 31 00:32:55 2013 +0100
+++ b/gameServer/OfficialServer/extdbinterface.hs	Tue Dec 31 01:33:49 2013 +0100
@@ -11,6 +11,7 @@
 import Database.HDBC.MySQL
 import Data.List (lookup)
 import qualified Data.ByteString.Char8 as B
+import Data.Word
 --------------------------
 import CoreTypes
 import Utils
@@ -91,7 +92,7 @@
         , SqlInt32 (readInt_ value)
         , SqlByteString fileName
         , SqlByteString location
-        , SqlInt32 p
+        , SqlInt32 $ fromIntegral p
         ] : ps bs
     ps (b:bs) = ps bs