From 2f4e5d0c7b40a8d7034dd2c97df9721661a28229 Mon Sep 17 00:00:00 2001 From: xgoff Date: Sat, 4 Aug 2012 13:19:02 -0500 Subject: copy-pasting is bad. don't do it --- fakecanvas.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fakecanvas.lua b/fakecanvas.lua index 9195891..f1d89cd 100644 --- a/fakecanvas.lua +++ b/fakecanvas.lua @@ -245,11 +245,11 @@ local _wrap_funcs = { end return _love_funcs.draw(obj, x, y, r, sx, sy, ox, oy, kx, ky) end, - drawq = function (obj, x, y, r, sx, sy, ox, oy, kx, ky) + drawq = function (obj, q, x, y, r, sx, sy, ox, oy, kx, ky) if canvases[obj] then - return _love_funcs.drawq(obj:_getImage(), x, y, r, sx, sy, ox, oy, kx, ky) + return _love_funcs.drawq(obj:_getImage(), q or obj:_getQuad(), x, y, r, sx, sy, ox, oy, kx, ky) end - return _love_funcs.drawq(obj, x, y, r, sx, sy, ox, oy, kx, ky) + return _love_funcs.drawq(obj, q, x, y, r, sx, sy, ox, oy, kx, ky) end, pe_send = function (pe, name, data) -- cgit v1.2.3-70-g09d2