[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] r2617 - trunk/src/worldmap
From: |
jave27 |
Subject: |
[Pingus-CVS] r2617 - trunk/src/worldmap |
Date: |
Fri, 20 Jan 2006 05:45:02 +0100 |
Author: jave27
Date: 2006-01-20 05:44:58 +0100 (Fri, 20 Jan 2006)
New Revision: 2617
Modified:
trunk/src/worldmap/metamap.cxx
trunk/src/worldmap/path_graph.cxx
Log:
Got rid of some minor gcc -Wall issues.
Modified: trunk/src/worldmap/metamap.cxx
===================================================================
--- trunk/src/worldmap/metamap.cxx 2006-01-19 22:18:18 UTC (rev 2616)
+++ trunk/src/worldmap/metamap.cxx 2006-01-20 04:44:58 UTC (rev 2617)
@@ -117,7 +117,7 @@
MetaMap::finish_node(const std::string &worldmap_shortname)
{
StatManager::instance()->set_bool(worldmap_shortname + "-finished",
true);
- NodeId id = path_graph->lookup_node(worldmap_shortname);
+ // NodeId id = path_graph->lookup_node(worldmap_shortname);
// FIXME: Not entirely sure how the whole pathfinder thing works,
// FIXME: so I'm hardcoding this for now... <evil!!!>
unlock_default("volcano");
Modified: trunk/src/worldmap/path_graph.cxx
===================================================================
--- trunk/src/worldmap/path_graph.cxx 2006-01-19 22:18:18 UTC (rev 2616)
+++ trunk/src/worldmap/path_graph.cxx 2006-01-20 04:44:58 UTC (rev 2617)
@@ -44,8 +44,9 @@
}
PathGraph::PathGraph(MetaMap* arg_metamap, FileReader &reader)
- : metamap(arg_metamap),
- worldmap(0)
+ : worldmap(0),
+ metamap(arg_metamap)
+
{
parse_nodes(reader.read_section("nodes"));
parse_edges(reader.read_section("edges"));
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] r2617 - trunk/src/worldmap,
jave27 <=