SHOW:
|
|
- or go back to the newest paste.
1 | /* Class42_Sub1.java:~493 */ | |
2 | ||
3 | public final int getMapId(int i, int j, int k, int l) { | |
4 | if(j != 0) | |
5 | return anInt1345; | |
6 | int i1 = (l << 8) + k; | |
7 | ||
8 | ||
9 | for(int j1 = 0; j1 < mapDataIndex.length; j1++) | |
10 | if(mapDataIndex[j1] == i1) | |
11 | if(i == 0) | |
12 | return floorMapIds[j1]; //Floor | |
13 | else | |
14 | return objectMapIds[j1]; //Objects | |
15 | ||
16 | ||
17 | return -1; | |
18 | } |