r3659 - trunk/tools/ImgToMap/src/imgtomap

savagex at icculus.org savagex at icculus.org
Sat May 24 13:38:40 EDT 2008


Author: savagex
Date: 2008-05-24 13:38:37 -0400 (Sat, 24 May 2008)
New Revision: 3659

Modified:
   trunk/tools/ImgToMap/src/imgtomap/MapWriter.java
Log:
add terrain key to func_group. No idea if this actually has an effect.

Modified: trunk/tools/ImgToMap/src/imgtomap/MapWriter.java
===================================================================
--- trunk/tools/ImgToMap/src/imgtomap/MapWriter.java	2008-05-24 16:46:57 UTC (rev 3658)
+++ trunk/tools/ImgToMap/src/imgtomap/MapWriter.java	2008-05-24 17:38:37 UTC (rev 3659)
@@ -137,6 +137,7 @@
 
         // func_group start
         pw.print("{\n\"classname\" \"func_group\"\n");
+        pw.print("\n\"terrain\" \"1\"\n");
         // wander through grid
         for (int x = 0; x < height.length - 1; ++x) {
             for (int y = 0; y < height[0].length - 1; ++y) {




More information about the nexuiz-commits mailing list