diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2011-04-15 23:11:20 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2011-10-19 22:25:18 +0200 |
commit | 943fdc0eb7237790a469a81fba4c914f9e085977 (patch) | |
tree | b6dd05d307c078d48660f8c38a507a47c106bb43 /src/scripting/lua.cpp | |
parent | ae8a5ce84a80381eb862468091154c2cc7c60124 (diff) | |
download | manaserv-943fdc0eb7237790a469a81fba4c914f9e085977.tar.gz manaserv-943fdc0eb7237790a469a81fba4c914f9e085977.tar.bz2 manaserv-943fdc0eb7237790a469a81fba4c914f9e085977.tar.xz manaserv-943fdc0eb7237790a469a81fba4c914f9e085977.zip |
Removed inappropriate assignment to mOld in Being::findPath
Being::findPath doesn't change the position of a being, and so should
not be syncing mOld to the current position. When invoked on the wrong
moment, this could cause MapComposite::update to fail to realize that a
being has moved into another zone.
Also removed some other usages of mOld that were not necessary, to make
its purpose clearer and make a potential cleanup easier.
Reviewed-by: Yohann Ferreira
Diffstat (limited to 'src/scripting/lua.cpp')
0 files changed, 0 insertions, 0 deletions