* applied patch by StefanV (from mailinglist) that fixes an error in config.py (broke...
[xonotic/netradiant.git] / contrib / bobtoolz / DMap.h
index 2d5721141c52e91896d2ffce9a4e4d401d838bc2..b63cafd6c9053f42cd405895dd605c13c5fa0423 100644 (file)
@@ -30,7 +30,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 #pragma once
 #endif // _MSC_VER > 1000
 
-class DMap  
+class DMap
 {
 public:
        static void RebuildEntity(DEntity* ent);
@@ -43,7 +43,7 @@ public:
        void ClearEntities();
 
        DEntity* DMap::GetEntityForID(int ID);
-       DEntity* AddEntity(char* classname = "worldspawn", int ID = -1);
+       DEntity* AddEntity(const char* classname = "worldspawn", int ID = -1);
 
        list<DEntity*> entityList;