]> git.lizzy.rs Git - minetest.git/blobdiff - src/clientobject.cpp
Workaround for blocks having a huge amount of active objects; add log messages relate...
[minetest.git] / src / clientobject.cpp
index 787efef294c988dae5c5e6f758e0fd0a1daf9f0a..ee2ad0b9fcd7cf0aa71fc6ee3ba768761abed0fe 100644 (file)
@@ -26,8 +26,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
        ClientActiveObject
 */
 
-core::map<u16, ClientActiveObject::Factory> ClientActiveObject::m_types;
-
 ClientActiveObject::ClientActiveObject(u16 id):
        ActiveObject(id)
 {
@@ -47,7 +45,7 @@ ClientActiveObject* ClientActiveObject::create(u8 type)
        {
                // If factory is not found, just return.
                dstream<<"WARNING: ClientActiveObject: No factory for type="
-                               <<type<<std::endl;
+                               <<(int)type<<std::endl;
                return NULL;
        }