You shouldn't be pushed in Enhanced mode

This commit is contained in:
UnknownShadow200 2017-02-12 00:13:19 +11:00
parent d0006628ec
commit 72b6c8f9e4
2 changed files with 3 additions and 4 deletions

View File

@ -266,8 +266,6 @@ namespace ClassicalSharp.Entities {
}
public void DoEntityPush() {
//if (!game.ClassicMode || hacks.Noclip) return;
for (int id = 0; id < EntityList.MaxCount; id++) {
Entity other = game.Entities[id];
if (other == null || other == entity) continue;

View File

@ -59,6 +59,7 @@ namespace ClassicalSharp.Entities {
bool wasOnGround = onGround;
HandleInput(ref xMoving, ref zMoving);
if (game.ClassicMode && !Hacks.Noclip)
physics.DoEntityPush();
// Immediate stop in noclip mode