From f80268eb885e28c603cc88523cfce2751d1448e1 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Sun, 7 Sep 2008 18:49:29 +0000 Subject: [FIX] Added a static poll method to Fraction [FIX] More Arena stuff fleshed out [FIX] Added priority scripts to Ability and Move [FIX] A SigmodWrapper pointer is now passed around the containments [FIX] Config now has templated methods for retrieving values git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@253 6ecfd1a5-f3ed-3746-8530-beee90d26b22 --- sigscript/MapWarpWrapper.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sigscript/MapWarpWrapper.cpp') diff --git a/sigscript/MapWarpWrapper.cpp b/sigscript/MapWarpWrapper.cpp index 32e1c14d..bacba9b0 100644 --- a/sigscript/MapWarpWrapper.cpp +++ b/sigscript/MapWarpWrapper.cpp @@ -55,8 +55,8 @@ QString Sigscript::MapWarpWrapper::name() const QPoint Sigscript::MapWarpWrapper::coordinate() const { - if (value("coordinate").canConvert()) - return value("coordinate").toPoint(); + if (hasValueOfType("coordinate")) + return valueOfType("coordinate"); return m_warp->coordinate(); } -- cgit