]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/mapsector.cpp
CMake stuff works now on linux and windows... and should be possible to make to work...
[dragonfireclient.git] / src / mapsector.cpp
index 8dd1c8c919ba821af7f55c9babe3e6e3d7baad70..8a3728c8f2a0ddedd29933efd35b375e0b41befd 100644 (file)
@@ -1,3 +1,22 @@
+/*
+Minetest-c55
+Copyright (C) 2010 celeron55, Perttu Ahola <celeron55@gmail.com>
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program; if not, write to the Free Software Foundation, Inc.,
+51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+*/
+
 #include "mapsector.h"
 #include "jmutexautolock.h"
 #include "client.h"
@@ -588,6 +607,7 @@ ServerMapSector* ServerMapSector::deSerialize(
        return sector;
 }
 
+#ifndef SERVER
 /*
        ClientMapSector
 */
@@ -648,5 +668,6 @@ void ClientMapSector::deSerialize(std::istream &is)
        m_corners[2] = c2;
        m_corners[3] = c3;
 }
+#endif // !SERVER
 
 //END