updateMouseBorderControl
This commit is contained in:
@@ -159,6 +159,7 @@ class Scenario {
|
||||
stream.tracePosition();
|
||||
|
||||
var townIdx = 0;
|
||||
// TODO find an end condition for this loop
|
||||
while (true) {
|
||||
var name = stream.readCString();
|
||||
|
||||
@@ -170,7 +171,10 @@ class Scenario {
|
||||
|
||||
|
||||
|
||||
towns[townIdx++] = map;
|
||||
scen.towns[townIdx++] = map;
|
||||
|
||||
// TODO don't
|
||||
break;
|
||||
}
|
||||
|
||||
// 1E274: Fort Talrus (name of town 0)
|
||||
|
@@ -29,7 +29,7 @@ class TileMap {
|
||||
|
||||
public function wallSheet(num:Int) {
|
||||
return switch (type) {
|
||||
case Town(det):
|
||||
case Town(underground, det):
|
||||
if (num == 1)
|
||||
det.wallSheet1;
|
||||
else
|
||||
|
Reference in New Issue
Block a user