mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-09-10 12:02:53 +02:00
how do i ruby again
This commit is contained in:
parent
c08cd8359e
commit
0d512ee6ad
1 changed files with 3 additions and 2 deletions
|
@ -29,7 +29,7 @@
|
|||
|
||||
module VWrap
|
||||
|
||||
MAX_TEX_SIZE = Bitmap.max_size
|
||||
MAX_TEX_SIZE = Bitmap.max_size()
|
||||
TILESET_WIDTH = 0x100
|
||||
|
||||
def self.clamp(val, min, max)
|
||||
|
@ -139,5 +139,6 @@ end
|
|||
|
||||
alias old_pbDrawTextPositions pbDrawTextPositions
|
||||
def pbDrawTextPositions(bitmap,textpos)
|
||||
old_pbDrawTextPositions(bitmap,textpos.map{|n|n+4})
|
||||
old_pbDrawTextPositions(bitmap, textpos.each{|i|i[2] += 4})
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue