mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-28 10:06:08 -05:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
34278a8648
1 changed files with 1 additions and 1 deletions
|
@ -376,7 +376,7 @@ module.exports = CocoSprite = class CocoSprite extends CocoClass
|
||||||
scale *= @options.resolutionFactor if prop is 'registration'
|
scale *= @options.resolutionFactor if prop is 'registration'
|
||||||
pos.x *= scale
|
pos.x *= scale
|
||||||
pos.y *= scale
|
pos.y *= scale
|
||||||
if @thang
|
if @thang and prop isnt 'registration'
|
||||||
scaleFactor = @thang.scaleFactor ? 1
|
scaleFactor = @thang.scaleFactor ? 1
|
||||||
pos.x *= @thang.scaleFactorX ? scaleFactor
|
pos.x *= @thang.scaleFactorX ? scaleFactor
|
||||||
pos.y *= @thang.scaleFactorY ? scaleFactor
|
pos.y *= @thang.scaleFactorY ? scaleFactor
|
||||||
|
|
Loading…
Reference in a new issue