MCPcopy Create free account
hub / github.com/CleverRaven/Cataclysm-DDA / has_computer

Method has_computer

src/submap.cpp:169–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167}
168
169bool submap::has_computer( const point &p ) const
170{
171 return computers.find( p ) != computers.end() || ( legacy_computer && frn[p.x][p.y]
172 == furn_f_console );
173}
174
175const computer *submap::get_computer( const point &p ) const
176{

Callers 2

is_normal_submapFunction · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by 1

is_normal_submapFunction · 0.64