Fix LegacySpellConverter and MapNormalizer editor plugin scripts.

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@11618 282e977c-c81d-0410-88c4-b93c2d0d6712
master
akirschbaum 2009-04-02 22:09:15 +00:00
parent e3c5a27df5
commit 350b797d5c
2 changed files with 2 additions and 2 deletions

View File

@ -229,7 +229,7 @@ void convertGameObject(GameObject gameObject) {
}
// conversion code based on Crossfire's server/common/loader.l
int type = gameObject.getArchTypNr();
int type = gameObject.getTypeNo();
switch (type) {
case 5: // POTION
case 18: // ALTAR

View File

@ -3,9 +3,9 @@
<name>MapNormalizer</name>
<code><![CDATA[import java.io.File;
import java.util.Iterator;
import net.sf.gridarta.CommonConstants;
import net.sf.gridarta.io.RecursiveFileIterator;
import net.sf.gridarta.map.ShrinkMapSizeUtils;
import net.sf.gridarta.utils.CommonConstants;
void normalizeMap(File mapFile, String mapPath) {
print(mapPath);