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-b93c2d0d6712master
parent
e3c5a27df5
commit
350b797d5c
|
@ -229,7 +229,7 @@ void convertGameObject(GameObject gameObject) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// conversion code based on Crossfire's server/common/loader.l
|
// conversion code based on Crossfire's server/common/loader.l
|
||||||
int type = gameObject.getArchTypNr();
|
int type = gameObject.getTypeNo();
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case 5: // POTION
|
case 5: // POTION
|
||||||
case 18: // ALTAR
|
case 18: // ALTAR
|
||||||
|
|
|
@ -3,9 +3,9 @@
|
||||||
<name>MapNormalizer</name>
|
<name>MapNormalizer</name>
|
||||||
<code><![CDATA[import java.io.File;
|
<code><![CDATA[import java.io.File;
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
import net.sf.gridarta.CommonConstants;
|
|
||||||
import net.sf.gridarta.io.RecursiveFileIterator;
|
import net.sf.gridarta.io.RecursiveFileIterator;
|
||||||
import net.sf.gridarta.map.ShrinkMapSizeUtils;
|
import net.sf.gridarta.map.ShrinkMapSizeUtils;
|
||||||
|
import net.sf.gridarta.utils.CommonConstants;
|
||||||
|
|
||||||
void normalizeMap(File mapFile, String mapPath) {
|
void normalizeMap(File mapFile, String mapPath) {
|
||||||
print(mapPath);
|
print(mapPath);
|
||||||
|
|
Loading…
Reference in New Issue