Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenXcom/OpenXcom
/ setWasHit
Method
setWasHit
src/Battlescape/AlienBAIState.cpp:395–398 ·
view source on GitHub ↗
* sets the "was hit" flag to true. */
Source
from the content-addressed store, hash-verified
393
* sets the
"was hit"
flag to true.
394
*/
395
void AlienBAIState::setWasHit()
396
{
397
_wasHit = true;
398
}
399
400
/*
401
* Gets whether the unit was hit.
Callers
1
think
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected