some bug fixes + updated engine with networking fixes

This commit is contained in:
Light2
2013-12-28 19:16:51 +01:00
parent c3cf8713bf
commit acf78858a6
14 changed files with 72 additions and 40 deletions
+4 -6
View File
@@ -570,7 +570,9 @@ public class SimulationService implements INetworkDispatch {
//session.suspendWrite();
ghost.toggleFlag(PlayerFlags.LD);
if(!ghost.isSet(PlayerFlags.LD))
ghost.toggleFlag(PlayerFlags.LD);
/*
object.createTransaction(core.getCreatureODB().getEnvironment());
@@ -616,11 +618,7 @@ public class SimulationService implements INetworkDispatch {
}
PlayerObject ghost = (PlayerObject) object.getSlottedObject("ghost");
if (ghost.isSet(PlayerFlags.LD)) {
ghost.toggleFlag(PlayerFlags.LD);
}
core.weatherService.sendWeather(object);
if (!object.hasSkill(ghost.getProfessionWheelPosition())) {