mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 22:23:51 +00:00
Reduce server console spam
This commit is contained in:
parent
436548413e
commit
a36c20eaae
1 changed files with 1 additions and 5 deletions
|
@ -30,8 +30,6 @@ const char *ScriptFunctions::GetName(unsigned short pid) noexcept
|
|||
Player *player;
|
||||
GET_PLAYER(pid, player, 0);
|
||||
|
||||
cout << "pname: " << player->Npc()->mName.c_str() << endl;
|
||||
|
||||
return player->Npc()->mName.c_str();
|
||||
}
|
||||
|
||||
|
@ -64,7 +62,7 @@ void ScriptFunctions::SetRace(unsigned short pid, const char *race) noexcept
|
|||
if (player->Npc()->mRace == race)
|
||||
return;
|
||||
|
||||
printf("Attempt to set race %s -> %s", player->Npc()->mRace.c_str(), race);
|
||||
printf("Attempt to set race %s -> %s\n", player->Npc()->mRace.c_str(), race);
|
||||
|
||||
player->Npc()->mRace = race;
|
||||
}
|
||||
|
@ -288,8 +286,6 @@ void ScriptFunctions::SetAttribute(unsigned short pid, unsigned short attribute,
|
|||
if (attribute > 7)
|
||||
return;
|
||||
|
||||
DEBUG_PRINTF("SetAttribute(%d, %d, %d)\n", pid, attribute, value);
|
||||
|
||||
player->CreatureStats()->mAttributes[attribute].mBase = value;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue