From c1793a87ebea8c8e1bb2d5d1a409d105bfae3871 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Mon, 18 Aug 2008 18:51:31 +0000 Subject: [FIX] Script to make a tarball now defaults to HEAD for the revision [FIX] Enumeration types used to help remove some checks [FIX] Macro code moved to static members of Object (not all though) [FIX] Scripting wrappers now share information by keeping track of already-created instances of the wrapper [FIX] Scripting methods are now Q_SCRIPTABLE and not slots git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@239 6ecfd1a5-f3ed-3746-8530-beee90d26b22 --- pokemod/MapTrainerTeamMember.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'pokemod/MapTrainerTeamMember.cpp') diff --git a/pokemod/MapTrainerTeamMember.cpp b/pokemod/MapTrainerTeamMember.cpp index 2c94fa60..d69411a5 100644 --- a/pokemod/MapTrainerTeamMember.cpp +++ b/pokemod/MapTrainerTeamMember.cpp @@ -79,23 +79,23 @@ void Pokemod::MapTrainerTeamMember::validate() void Pokemod::MapTrainerTeamMember::load(const QDomElement& xml) { LOAD_BEGIN(); - LOAD(int, species); - LOAD(int, level); - LOAD_LIST(int, ability); - LOAD_LIST(int, item); - LOAD_LIST(int, move); - LOAD_LIST(int, nature); + LOAD(species); + LOAD(level); + LOAD_LIST(ability); + LOAD_LIST(item); + LOAD_LIST(move); + LOAD_LIST(nature); } QDomElement Pokemod::MapTrainerTeamMember::save() const { SAVE_CREATE(); - SAVE(int, species); - SAVE(int, level); - SAVE_LIST(int, ability); - SAVE_LIST(int, item); - SAVE_LIST(int, move); - SAVE_LIST(int, nature); + SAVE(species); + SAVE(level); + SAVE_LIST(ability); + SAVE_LIST(item); + SAVE_LIST(move); + SAVE_LIST(nature); return xml; } -- cgit