MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / closeUfoDoor

Method closeUfoDoor

src/Savegame/Tile.cpp:348–362  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

346}
347
348int Tile::closeUfoDoor()
349{
350 int retval = 0;
351
352 for (int part = 0; part < 4; part++)
353 {
354 if (isUfoDoorOpen(part))
355 {
356 _currentFrame[part] = 0;
357 retval = 1;
358 }
359 }
360
361 return retval;
362}
363
364/**
365 * Sets the tile's cache flag. - TODO: set this for each object separately?

Callers 1

closeUfoDoorsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected