1
This commit is contained in:
parent
bcc8aeabd1
commit
7b6ba13dd3
@ -3,6 +3,7 @@
|
||||
#include "android.h"
|
||||
#include "metamgr.h"
|
||||
#include "android.ai.h"
|
||||
#include "room.h"
|
||||
|
||||
Android::Android():Human()
|
||||
{
|
||||
@ -27,5 +28,8 @@ void Android::Initialize()
|
||||
|
||||
void Android::Update(int delta_time)
|
||||
{
|
||||
if (a8::HasBitFlag(status, HS_Fly)) {
|
||||
pos = room->plane.curr_pos;
|
||||
}
|
||||
ai->Update(delta_time);
|
||||
}
|
||||
|
@ -37,6 +37,9 @@ void Player::Update(int delta_time)
|
||||
if (poisoning) {
|
||||
poisoning_time += delta_time;
|
||||
}
|
||||
if (a8::HasBitFlag(status, HS_Fly)) {
|
||||
pos = room->plane.curr_pos;
|
||||
}
|
||||
if (moving) {
|
||||
UpdateMove();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user