summaryrefslogtreecommitdiff
path: root/bubbob/mnstrmap.py
diff options
context:
space:
mode:
authorDiego Roversi <diegor@tiscali.it>2019-09-08 22:05:57 +0200
committerDiego Roversi <diegor@tiscali.it>2019-09-08 22:05:57 +0200
commitc23b138ed72d794521b19ff7d8076b32b0b7bf46 (patch)
treec8e82a4ca4da05ba1ad28d4ff64a157bc1eb7952 /bubbob/mnstrmap.py
parent1d9925c287b318ec21343e2682b51ab6a36ae8db (diff)
2to3
Diffstat (limited to 'bubbob/mnstrmap.py')
-rw-r--r--bubbob/mnstrmap.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bubbob/mnstrmap.py b/bubbob/mnstrmap.py
index 88e531d..9dbc4ed 100644
--- a/bubbob/mnstrmap.py
+++ b/bubbob/mnstrmap.py
@@ -7,7 +7,7 @@ class Monster1:
self.player = player
def nrange(start,n):
- return range(start,start+n)
+ return list(range(start,start+n))
class Nasty(Monster1):
right = nrange(239,4)
@@ -289,11 +289,11 @@ class birange:
self.a = a
self.n = n
def __getitem__(self, pn):
- return range(self.a + 1000*pn, self.a + 1000*pn + self.n)
+ return list(range(self.a + 1000*pn, self.a + 1000*pn + self.n))
class bidict:
def __init__(self, a,b):
- self.a = a.items()
+ self.a = list(a.items())
def __getitem__(self, pn):
pn *= 1000
d = {}