Author: suokko
Date: Sun Jun 29 14:06:22 2008
New Revision: 27588
URL: http://svn.gna.org/viewcvs/wesnoth?rev=27588&view=rev
Log:
* Added some relevant data to recall error log output
Modified:
trunk/src/game_events.cpp
Modified: trunk/src/game_events.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/game_events.cpp?rev=27588&r1=27587&r2=27588&view=diff
==============================================================================
--- trunk/src/game_events.cpp (original)
+++ trunk/src/game_events.cpp Sun Jun 29 14:06:22 2008
@@ -1737,7 +1737,8 @@
player_info* const player =
state_of_game->get_player(player_id);
if(player == NULL) {
- ERR_NG << "player not found!\n";
+ ERR_NG << "player not found when trying to
recall!\n"
+ << "player_id: " << player_id << "
index: " << index << "\n";
continue;
}
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits