Fix a crash and update resources.

This commit is contained in:
Alexander 2015-08-18 14:39:38 -04:00
parent d5d0d42e97
commit 2aa8488175
4 changed files with 10 additions and 3 deletions

View file

@ -74,6 +74,9 @@ want-pstats 0
want-whitelist #f
want-sequence-list #f
want-emblems #t
cogdo-want-barrel-room #t
#<dev>
show-total-population #t

View file

@ -40,6 +40,10 @@ get-key-reward-always #t
get-crate-reward-always #t
want-emblems #t
cogdo-want-barrel-room #t
# Chat Settings
want-whitelist #f
want-sequence-list #f

@ -1 +1 @@
Subproject commit 769d26390634d17384aa28021cc7afd88306c4af
Subproject commit aacdc95eac2459a4af7234f2b8ad7b36eab5d516

View file

@ -1059,7 +1059,7 @@ class CatalogFurnitureItem(CatalogAtticItem.CatalogAtticItem):
return 24 * 60
def getPicture(self, avatar):
model = self.loadModel(animate=0)
model = self.loadModel()
spin = 1
flags = self.getFlags()
if flags & FLRug:
@ -1095,7 +1095,7 @@ class CatalogFurnitureItem(CatalogAtticItem.CatalogAtticItem):
def getBasePrice(self):
return FurnitureTypes[self.furnitureType][FTBasePrice]
def loadModel(self, animate=1):
def loadModel(self):
type = FurnitureTypes[self.furnitureType]
model = loader.loadModel(type[FTModelName])
self.applyColor(model, type[FTColor])