Remove now unnecessary debug prints.

This commit is contained in:
Marco Cawthorne 2023-04-16 01:03:00 -07:00
parent 4a330ef3ce
commit de388f0464
Signed by: eukara
GPG Key ID: CE2032F0A2882A22
1 changed files with 0 additions and 6 deletions

View File

@ -243,21 +243,15 @@ NSClientPlayer::Physics_WaterMove(void)
#ifdef SERVER
if (WaterLevel() > 0) {
print(sprintf("level: %d type: %d\n", waterlevel, watertype));
if (watertype == CONTENT_LAVA) {
print("in lava\n");
if (m_flPainTime < time) {
Damage_Apply(this, world, 10 * WaterLevel(), 0, DMG_BURN);
m_flPainTime = time + 0.2;
print("lava damage\n");
}
} else if (watertype == CONTENT_SLIME) {
print("in slime\n");
if (m_flPainTime < time) {
Damage_Apply(this, world, 4 * WaterLevel(), 0, DMG_ACID);
m_flPainTime = time + 1;
print("slime damage\n");
}
}
}