Improved character movement lag compensation

This commit is contained in:
Regalis
2015-11-03 18:15:12 +02:00
parent 2a8939f6dc
commit 963f46e7d1
8 changed files with 46 additions and 26 deletions

View File

@@ -170,7 +170,9 @@ namespace Barotrauma.Networking
Entity e = Entity.FindEntityByID(id);
if (e == null)
{
//DebugConsole.ThrowError("Couldn't find an entity matching the ID ''" + id + "''");
#if DEBUG
DebugConsole.ThrowError("Couldn't find an entity matching the ID ''" + id + "''");
#endif
return false;
}