more verbose error messages for disabled commands

This commit is contained in:
ac-stef
2016-09-16 17:35:47 +02:00
parent fc3c77868f
commit 397c441fed
17 changed files with 86 additions and 78 deletions
+1 -1
View File
@@ -796,7 +796,7 @@ void physicsframe() // optimally schedule physics frames inside the gra
physframetime = clamp((PHYSFRAMETIME*gamespeed)/100, 1, PHYSFRAMETIME);
physsteps = (diff + physframetime - 1)/physframetime;
lastphysframe += physsteps * physframetime;
if(!multiplayer(false) && physsteps > 1000) physsteps = 1000;
if(!multiplayer(NULL) && physsteps > 1000) physsteps = 1000;
}
}