From fc3046a7e917458e024d76fd37ec531ce7efe217 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Sun, 24 Feb 2008 02:38:08 +0000 Subject: [FIX] Include cleanup [FIX] Consolidate skins into Pokemod UI forms [FIX] Now using KMainWindow [FIX] Some code for the tree set up git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@79 6ecfd1a5-f3ed-3746-8530-beee90d26b22 --- pokemod/MapEffect.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pokemod/MapEffect.cpp') diff --git a/pokemod/MapEffect.cpp b/pokemod/MapEffect.cpp index c7c2c1c1..5ca7f96f 100644 --- a/pokemod/MapEffect.cpp +++ b/pokemod/MapEffect.cpp @@ -69,7 +69,7 @@ bool MapEffect::validate() const pokemod->validationMsg("Invalid existence flag status"); valid = false; } - if (!QFile::exists(QString("%1/image/skin/%2.png").arg(pokemod->getPath()).arg(skin))) + if (!QFile::exists(getSkin())) { pokemod->validationMsg(QString("Skin not found")); valid = false; @@ -286,7 +286,7 @@ Flag MapEffect::getExistFlag() const QString MapEffect::getSkin() const { - return skin; + return QString("%1/image/skin/%2.png").arg(pokemod->getPath()).arg(skin); } int MapEffect::getEffect() const -- cgit