summaryrefslogtreecommitdiff
path: root/src/scripting/lua.cpp
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2011-04-15 23:11:20 +0200
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2011-10-19 22:25:18 +0200
commit943fdc0eb7237790a469a81fba4c914f9e085977 (patch)
treeb6dd05d307c078d48660f8c38a507a47c106bb43 /src/scripting/lua.cpp
parentae8a5ce84a80381eb862468091154c2cc7c60124 (diff)
downloadmanaserv-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