Advertisement
Guest User

Cards.cpp Patch

a guest
Jan 26th, 2013
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.62 KB | None | 0 0
  1. 5a6
  2. > #include <iostream>
  3. 77c78,79
  4. <                 throw std::runtime_error("While trying to insert the card [" + card->m_name + ", id " + to_string(card->m_id) + "] in the player_cards_by_name map: the key already exists [id " + to_string(player_cards_by_name[card->m_name]->m_id) + "].");
  5. ---
  6. >                 // Don't really want the exception that was here.
  7. >                 std::cout << "While trying to insert the card [" << card->m_name + ", id " << to_string(card->m_id) << "] in the player_cards_by_name map: the key already exists [id " << to_string(player_cards_by_name[card->m_name]->m_id) << "]." << std::endl;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement