Skip to content

Commit

Permalink
Use correct tag name in [store_rotate_map_location] errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Apr 17, 2015
1 parent 3103fe2 commit 8a67b09
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/game_events/action_wml.cpp
Expand Up @@ -1498,15 +1498,15 @@ WML_HANDLER_FUNCTION(store_relative_direction, /*event_info*/, cfg)
WML_HANDLER_FUNCTION(store_rotate_map_location, /*event_info*/, cfg)
{
if (!cfg.child("source")) {
WRN_NG << "No source in [store_relative_dir]" << std::endl;
WRN_NG << "No source in [store_rotate_map_location]" << std::endl;
return;
}
if (!cfg.child("destination")) {
WRN_NG << "No destination in [store_relative_dir]" << std::endl;
WRN_NG << "No destination in [store_rotate_map_location]" << std::endl;
return;
}
if (!cfg.has_attribute("variable")) {
WRN_NG << "No variable in [store_relative_dir]" << std::endl;
WRN_NG << "No variable in [store_rotate_map_location]" << std::endl;
return;
}

Expand Down

0 comments on commit 8a67b09

Please sign in to comment.