From: "Joe Smith" <unknown_kev_cat@hotmail.com>
Reply-To: Lua list <lua@bazar2.conectiva.com.br>
To: lua@bazar2.conectiva.com.br
Subject: Re: A newbie has problems with Lua
Date: Mon, 14 Aug 2006 12:15:11 -0400
"Vegetable" wrote in message 5795533.post@talk.nabble.com">news:5795533.post@talk.nabble.com...
The error come in
function draw_map()
for i=0,map_size_x-1 do
for j=0,map_size_y-1 do
tex_draw(abs(map[i][j]),(i-x_map)*32,(j-y_map)*32,1)
end
end
end
That code looks odd...
Check that you really want
"(i-x_map)" and not "(x_map-i)".
Same with y_map.