From 7e91e7b2e7285adf3198a1be68d63bc6411e2544 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Tue, 20 Jan 2009 23:51:22 -0500 Subject: Cleaned up Sigmod widget and now a startScript instead of warp --- sigscript/SigmodWrapper.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sigscript/SigmodWrapper.cpp') diff --git a/sigscript/SigmodWrapper.cpp b/sigscript/SigmodWrapper.cpp index 88969686..9290a728 100644 --- a/sigscript/SigmodWrapper.cpp +++ b/sigscript/SigmodWrapper.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2008 Ben Boeckel + * Copyright 2008-2009 Ben Boeckel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -229,9 +229,9 @@ bool Sigscript::SigmodWrapper::singlePlayer() const return m_sigmod->singlePlayer(); } -Sigscript::MapWarpWrapper* Sigscript::SigmodWrapper::startWarp() +Sigcore::Script Sigscript::SigmodWrapper::startScript() { - return map(m_sigmod->startMap())->warp(m_sigmod->startWarp()); + return m_sigmod->startScript(); } Sigcore::Fraction Sigscript::SigmodWrapper::effectiveness(const TypeWrapper* attacker, const TypeWrapper* defender) const -- cgit