mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-07 12:54:00 +00:00
Add a TODO comment
This commit is contained in:
parent
56cd0da522
commit
dd5f4947d7
@ -912,6 +912,7 @@ bool CharacterController::updateWeaponState()
|
|||||||
else if(mWeaponType == WeapType_PickProbe)
|
else if(mWeaponType == WeapType_PickProbe)
|
||||||
{
|
{
|
||||||
MWWorld::Ptr item = *weapon;
|
MWWorld::Ptr item = *weapon;
|
||||||
|
// TODO: this will only work for the player, and needs to be fixed if NPCs should ever use lockpicks/probes.
|
||||||
MWWorld::Ptr target = MWBase::Environment::get().getWorld()->getFacedObject();
|
MWWorld::Ptr target = MWBase::Environment::get().getWorld()->getFacedObject();
|
||||||
std::string resultMessage, resultSound;
|
std::string resultMessage, resultSound;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user