Refactored the "Ligne" modes. (#21)
* Added Ligne C89, now known as Marathon C89. * Refactored all the Ligne modes to no longer use the "Ligne" name. Ligne -> Race 40 Ligne A1 -> Marathon AX4 Ligne C89 -> Marathon C89
This commit is contained in:
@@ -139,9 +139,9 @@ function Piece:draw(opacity, brightness, grid, partial_das)
|
||||
love.graphics.setColor(brightness, brightness, brightness, opacity)
|
||||
local offsets = self:getBlockOffsets()
|
||||
local gravity_offset = 0
|
||||
if grid ~= nil and not self:isDropBlocked(grid) then
|
||||
gravity_offset = self.gravity * 16
|
||||
end
|
||||
--if grid ~= nil and not self:isDropBlocked(grid) then
|
||||
-- gravity_offset = self.gravity * 16
|
||||
--end
|
||||
if partial_das == nil then partial_das = 0 end
|
||||
for index, offset in pairs(offsets) do
|
||||
local x = self.position.x + offset.x
|
||||
|
||||
Reference in New Issue
Block a user