1
This commit is contained in:
parent
e48d6a8425
commit
7fb029fb96
@ -83,6 +83,7 @@ void Android::InternalUpdate(int delta_time)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (poisoning) {
|
if (poisoning) {
|
||||||
|
poisoning_time += delta_time;
|
||||||
UpdatePoisoning();
|
UpdatePoisoning();
|
||||||
}
|
}
|
||||||
if (action_type != AT_None) {
|
if (action_type != AT_None) {
|
||||||
|
@ -69,6 +69,10 @@ void Hero::Initialize()
|
|||||||
void Hero::Update(int delta_time)
|
void Hero::Update(int delta_time)
|
||||||
{
|
{
|
||||||
++updated_times_;
|
++updated_times_;
|
||||||
|
if (poisoning) {
|
||||||
|
poisoning_time += delta_time;
|
||||||
|
UpdatePoisoning();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Hero::OnExplosionHit(Explosion* e)
|
void Hero::OnExplosionHit(Explosion* e)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user