summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);