Changeset 534 for trunk/src/lua/lua_state.cc
- Timestamp:
- 01/12/17 14:41:17 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lua/lua_state.cc
r533 r534 911 911 if ( lua_type( state->get_raw(), index ) == LUA_TBOOLEAN ) 912 912 { 913 *value = bool( lua_toboolean( state->get_raw(), index ) );913 *value = lua_toboolean( state->get_raw(), index ) != 0; 914 914 return true; 915 915 }
Note: See TracChangeset
for help on using the changeset viewer.