Skip to content
Snippets Groups Projects
Commit 5a4adb7f authored by dg's avatar dg
Browse files

plop

git-svn-id: http://svn.net-core.org/repos/t-engine4@2895 51575b47-30f0-44d4-a5cc-537603b46e54
parent f6f05405
No related branches found
No related tags found
No related merge requests found
...@@ -827,6 +827,7 @@ static int map_draw_seen_texture(lua_State *L) ...@@ -827,6 +827,7 @@ static int map_draw_seen_texture(lua_State *L)
SMOOTH_SCROLL(); SMOOTH_SCROLL();
x -= animdx; x -= animdx;
y -= animdy; y -= animdy;
// printf("SEEN %3dx%3d :: %fx%f\n",x,y,animdx,animdy);
tglBindTexture(GL_TEXTURE_2D, map->seens_texture); tglBindTexture(GL_TEXTURE_2D, map->seens_texture);
...@@ -1109,6 +1110,7 @@ static int map_to_screen(lua_State *L) ...@@ -1109,6 +1110,7 @@ static int map_to_screen(lua_State *L)
SMOOTH_SCROLL(); SMOOTH_SCROLL();
x -= animdx; x -= animdx;
y -= animdy; y -= animdy;
// printf("MAP_ %3dx%3d :: %fx%f\n",x,y,animdx,animdy);
map->used_mx = mx; map->used_mx = mx;
map->used_my = my; map->used_my = my;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment