From 9cd7f4656b01cfb243433e1063c0339b2b96bbd4 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Sat, 23 Feb 2008 00:30:00 +0000 Subject: [FIX] Changelog/SVN desynchronization fixed [FIX] skins UI file cleaned up [FIX] ImageCache no longer uses force argument [FIX] operator= now correctly copies subdata from rhs (instead of reassigning ID numbers) [FIX] Pokemod can now be copied [FIX] Pokemod skin calls cleaned up [ADD] PokemodUI.{h, cpp} [ADD] SkinsUI.{h, cpp} git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@70 6ecfd1a5-f3ed-3746-8530-beee90d26b22 --- pokemod/Item.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pokemod/Item.cpp') diff --git a/pokemod/Item.cpp b/pokemod/Item.cpp index b857e20e..f6293cf7 100644 --- a/pokemod/Item.cpp +++ b/pokemod/Item.cpp @@ -271,6 +271,6 @@ Item& Item::operator=(const Item& rhs) description = rhs.description; effects.clear(); for (int i = 0; i < rhs.getEffectCount(); ++i) - newEffect(*rhs.getEffect(i)); + effects.append(ItemEffect(pokemod, *rhs.getEffect(i), rhs.getEffect(i)->getId())); return *this; } -- cgit