Changeset 206 for trunk/src/lua/lua_area.cc
- Timestamp:
- 08/19/13 06:37:47 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lua/lua_area.cc
r204 r206 150 150 static int nlua_area_coords( lua_State* L ) 151 151 { 152 nv::rectangle* a( nlua_to_parea( L, lua_upvalueindex(1)) );152 nv::rectangle* a( nlua_to_parea( L, 1 ) ); 153 153 nv::ivec2 c( a->ul ); 154 154 c.x--; … … 184 184 static int nlua_area_edges( lua_State* L ) 185 185 { 186 nv::rectangle* a( nlua_to_parea( L, lua_upvalueindex(1)) );186 nv::rectangle* a( nlua_to_parea( L, 1 ) ); 187 187 nv::ivec2 c( a->ul ); 188 188 c.x--;
Note: See TracChangeset
for help on using the changeset viewer.