summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2005-08-01 10:39:46 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2005-08-01 10:39:46 +0000
commit43acec909720a799d2dcb1833644bafe825ad78a (patch)
tree06ea961907d30994b93910c2ef197d0e8348c7f1
parent1a2dc3de03fee33e8d2a52767424498e2019321e (diff)
downloadmana-43acec909720a799d2dcb1833644bafe825ad78a.tar.gz
mana-43acec909720a799d2dcb1833644bafe825ad78a.tar.bz2
mana-43acec909720a799d2dcb1833644bafe825ad78a.tar.xz
mana-43acec909720a799d2dcb1833644bafe825ad78a.zip
Fixed autoTarget not being set to NULL on map change.
-rw-r--r--ChangeLog1
-rw-r--r--src/game.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 55570ba1..a6ec5642 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,7 @@
* src/inventory.cpp, src/inventory.h,
src/gui/itemcontainer.cpp, src/gui/itemcontainer.h: Added a logic function
to dynamically adjust the size of the itemcontainer.
+ * src/game.cpp: Fixed autoTarget not being set to NULL on map change.
2005-07-31 Andrej Sinicyn <andrej4000@gmail.com>
diff --git a/src/game.cpp b/src/game.cpp
index 52979547..6afe733d 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -1281,6 +1281,7 @@ void do_parse()
}
}
beings.clear();
+ autoTarget = NULL;
// Re-add the local player node
add_node(player_node);