Changeset 437 for trunk/src/lua/lua_map_area.cc
- Timestamp:
- 07/23/15 08:30:41 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lua/lua_map_area.cc
r431 r437 137 137 { 138 138 nv::map_area* ma = to_map_area( L, 1 ); 139 nv::string_view result( ma->id_to_string( ma->get_cell( to_coord( L, 2 ) ) ) ); 140 lua_pushlstring( L, result.data(), result.size() ); 139 nlua_pushstringview( L, ma->id_to_string( ma->get_cell( to_coord( L, 2 ) ) ) ); 141 140 return 1; 142 141 }
Note: See TracChangeset
for help on using the changeset viewer.