mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-05-01 15:17:57 +03:00
Implemented Actor::Landed
This commit is contained in:
parent
e7786b3192
commit
56e52fda80
1 changed files with 5 additions and 1 deletions
|
@ -12269,7 +12269,11 @@ Actor::Landed
|
||||||
*/
|
*/
|
||||||
void Actor::Landed(Event *ev)
|
void Actor::Landed(Event *ev)
|
||||||
{
|
{
|
||||||
// FIXME: unimplemented
|
if (groundentity && groundentity->entity != world) {
|
||||||
|
warning("Actor::Landed", "Actor %d has landed on an entity that might move\n", entnum);
|
||||||
|
}
|
||||||
|
|
||||||
|
setMoveType(MOVETYPE_NONE);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Actor::IsOnFloor(void)
|
bool Actor::IsOnFloor(void)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue