[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src/worldmap worldmap.cxx,1.42,1.43
From: |
grumbel |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src/worldmap worldmap.cxx,1.42,1.43 |
Date: |
6 Apr 2003 20:45:16 -0000 |
Update of /var/lib/cvs/Games/Pingus/src/worldmap
In directory dark:/tmp/cvs-serv8364/worldmap
Modified Files:
worldmap.cxx
Log Message:
crash bug fix
Index: worldmap.cxx
===================================================================
RCS file: /var/lib/cvs/Games/Pingus/src/worldmap/worldmap.cxx,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- worldmap.cxx 6 Apr 2003 12:40:47 -0000 1.42
+++ worldmap.cxx 6 Apr 2003 20:45:13 -0000 1.43
@@ -368,10 +368,15 @@
void
WorldMap::enter_level()
{
- Dot* dot = path_graph->get_dot(get_pingus()->get_node());
- if (dot)
+ NodeId node = get_pingus()->get_node();
+
+ if (node != NoNode)
{
- dot->on_click();
+ Dot* dot = path_graph->get_dot(node);
+ if (dot)
+ {
+ dot->on_click();
+ }
}
else
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src/worldmap worldmap.cxx,1.42,1.43,
grumbel <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/src game_time.cxx,1.4,1.5 game_time.hxx,1.8,1.9 result_screen.cxx,1.11,1.12 start_screen.cxx,1.9,1.10 time_display.cxx,1.12,1.13
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/data/worldmaps tutorial.xml,1.25,1.26
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/src game_time.cxx,1.4,1.5 game_time.hxx,1.8,1.9 result_screen.cxx,1.11,1.12 start_screen.cxx,1.9,1.10 time_display.cxx,1.12,1.13
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/data/worldmaps tutorial.xml,1.25,1.26
- Index(es):