Commit e9ccdcba authored by Chen Bill's avatar Chen Bill

use default initialize

parent 6c545feb
......@@ -48,8 +48,6 @@ card* duel::new_card(uint32 code) {
cards.insert(pcard);
if(code)
::read_card(code, &(pcard->data));
else
pcard->data.clear();
pcard->data.code = code;
lua->register_card(pcard);
return pcard;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment