Showing
1 changed file
with
11 additions
and
9 deletions
... | ... | @@ -1142,9 +1142,9 @@ end |
1142 | 1142 | -- Display the player tile |
1143 | 1143 | function _M:innerDisplay(x, y, nb_keyframes) |
1144 | 1144 | if self.actor.image then |
1145 | - self.actor:toScreen(self.tiles, x + self.iw - 64, y, 128, 128) | |
1145 | + self.actor:toScreen(self.tiles, x + self.iw - 64, y, 64, 64) | |
1146 | 1146 | elseif self.actor.image and self.actor.add_mos then |
1147 | - self.actor:toScreen(self.tiles, x + self.iw - 64, y - 64, 256, 128) | |
1147 | + self.actor:toScreen(self.tiles, x + self.iw - 64, y - 64, 128, 64) | |
1148 | 1148 | end |
1149 | 1149 | |
1150 | 1150 | if self.descriptors_by_type.subclass then |
... | ... | @@ -1249,13 +1249,15 @@ function _M:setTile(f, w, h, last, nude) |
1249 | 1249 | for i, p in ipairs(ps) do self.actor:removeParticles(p) end |
1250 | 1250 | if self.actor.shader_auras then self.actor.shader_auras = {} end |
1251 | 1251 | self.replace_display = nil |
1252 | - if self.descriptors_by_type.subclass then | |
1253 | - local d = self.birth_descriptor_def.subclass[self.descriptors_by_type.subclass] | |
1254 | - if d and d.birth_example_particles then | |
1255 | - local p = d.birth_example_particles | |
1256 | - if type(p) == "table" then p = rng.table(p) end | |
1257 | - p = util.getval(p, self.actor, self) | |
1258 | - if type(p) == "string" then self.actor:addParticles(Particles.new(p, 1)) end | |
1252 | + if not nude then | |
1253 | + if self.descriptors_by_type.subclass then | |
1254 | + local d = self.birth_descriptor_def.subclass[self.descriptors_by_type.subclass] | |
1255 | + if d and d.birth_example_particles then | |
1256 | + local p = d.birth_example_particles | |
1257 | + if type(p) == "table" then p = rng.table(p) end | |
1258 | + p = util.getval(p, self.actor, self) | |
1259 | + if type(p) == "string" then self.actor:addParticles(Particles.new(p, 1)) end | |
1260 | + end | |
1259 | 1261 | end |
1260 | 1262 | end |
1261 | 1263 | ... | ... |
-
Please register or login to post a comment