mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-02 06:45:33 +00:00
removing some cout spam
This commit is contained in:
parent
f7a03b39c4
commit
cc86998281
3 changed files with 1 additions and 13 deletions
|
@ -677,7 +677,6 @@ namespace MWDialogue
|
||||||
|
|
||||||
void DialogueManager::executeScript(std::string script)
|
void DialogueManager::executeScript(std::string script)
|
||||||
{
|
{
|
||||||
std::cout << script;
|
|
||||||
std::vector<Interpreter::Type_Code> code;
|
std::vector<Interpreter::Type_Code> code;
|
||||||
if(compile(script,code))
|
if(compile(script,code))
|
||||||
{
|
{
|
||||||
|
|
|
@ -159,7 +159,6 @@ NpcAnimation::NpcAnimation(const MWWorld::Ptr& ptr, MWWorld::Environment& _env,O
|
||||||
insert->scale(race->data.height.female, race->data.height.female, race->data.height.female);
|
insert->scale(race->data.height.female, race->data.height.female, race->data.height.female);
|
||||||
else
|
else
|
||||||
insert->scale(race->data.height.male, race->data.height.male, race->data.height.male);
|
insert->scale(race->data.height.male, race->data.height.male, race->data.height.male);
|
||||||
std::cout << "Inv" << inv.getStateId() << "\n";
|
|
||||||
updateParts();
|
updateParts();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,8 +8,6 @@
|
||||||
|
|
||||||
#include "class.hpp"
|
#include "class.hpp"
|
||||||
|
|
||||||
#include <iostream> /// \todo remove after rendering is implemented
|
|
||||||
|
|
||||||
void MWWorld::InventoryStore::copySlots (const InventoryStore& store)
|
void MWWorld::InventoryStore::copySlots (const InventoryStore& store)
|
||||||
{
|
{
|
||||||
// some const-trickery, required because of a flaw in the handling of MW-references and the
|
// some const-trickery, required because of a flaw in the handling of MW-references and the
|
||||||
|
@ -72,7 +70,7 @@ void MWWorld::InventoryStore::equip (int slot, const ContainerStoreIterator& ite
|
||||||
/// \todo restack item previously in this slot (if required)
|
/// \todo restack item previously in this slot (if required)
|
||||||
|
|
||||||
/// \todo unstack item pointed to by iterator if required)
|
/// \todo unstack item pointed to by iterator if required)
|
||||||
|
|
||||||
mSlots[slot] = iterator;
|
mSlots[slot] = iterator;
|
||||||
|
|
||||||
flagAsModified();
|
flagAsModified();
|
||||||
|
@ -169,13 +167,5 @@ void MWWorld::InventoryStore::autoEquip (const MWMechanics::NpcStats& stats,
|
||||||
{
|
{
|
||||||
mSlots.swap (slots);
|
mSlots.swap (slots);
|
||||||
flagAsModified();
|
flagAsModified();
|
||||||
|
|
||||||
/// \todo remove the following line after rendering is implemented
|
|
||||||
for (std::size_t i=0; i<mSlots.size(); ++i)
|
|
||||||
if (mSlots[i]!=end())
|
|
||||||
{
|
|
||||||
std::cout<<"NPC is equipping " << MWWorld::Class::get (*mSlots[i]).getName (*mSlots[i])
|
|
||||||
<< " in slot " << i << std::endl;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue