mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-30 10:36:42 +00:00
Translate Russian code comment into English
This commit is contained in:
parent
31e2ab54d6
commit
09d564424f
1 changed files with 2 additions and 2 deletions
|
@ -851,13 +851,13 @@ namespace MWClass
|
||||||
_atk->attacker = mwmp::Main::get().getLocalPlayer()->guid;
|
_atk->attacker = mwmp::Main::get().getLocalPlayer()->guid;
|
||||||
_atk->target = mwmp::Players::GetPlayer(ptr)->guid;
|
_atk->target = mwmp::Players::GetPlayer(ptr)->guid;
|
||||||
_atk->knockdown = getCreatureStats(ptr).getKnockedDown();
|
_atk->knockdown = getCreatureStats(ptr).getKnockedDown();
|
||||||
mwmp::Main::get().getLocalPlayer()->SendAttack(0); // todo : нужна чуствительность к виду
|
mwmp::Main::get().getLocalPlayer()->SendAttack(0); // todo: make this sensitive to different weapon types
|
||||||
}
|
}
|
||||||
|
|
||||||
if(ptr == MWMechanics::getPlayer())
|
if(ptr == MWMechanics::getPlayer())
|
||||||
{
|
{
|
||||||
mwmp::Main::get().getLocalPlayer()->updateBaseStats(true);
|
mwmp::Main::get().getLocalPlayer()->updateBaseStats(true);
|
||||||
mwmp::Main::get().getLocalPlayer()->updatePosition(true); // fix position after get damage;
|
mwmp::Main::get().getLocalPlayer()->updatePosition(true); // fix position after getting damage;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue