From 599434121243d16ef44355a16f5db36596c05630 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Fri, 16 Jan 2009 18:49:24 -0500 Subject: Added special load/save for enumerations --- sigmod/MapWarp.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sigmod/MapWarp.cpp') diff --git a/sigmod/MapWarp.cpp b/sigmod/MapWarp.cpp index 157f2de9..ba0276dd 100644 --- a/sigmod/MapWarp.cpp +++ b/sigmod/MapWarp.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2007-2008 Ben Boeckel + * Copyright 2007-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 @@ -71,7 +71,7 @@ void Sigmod::MapWarp::load(const QDomElement& xml) LOAD_BEGIN(); LOAD(name); LOAD(area); - LOAD(type); + LOAD_ENUM(type, Type); LOAD(toMap); LOAD(toWarp); LOAD(script); @@ -82,7 +82,7 @@ QDomElement Sigmod::MapWarp::save() const SAVE_CREATE(); SAVE(name); SAVE(area); - SAVE(type); + SAVE_ENUM(type, Type); SAVE(toMap); SAVE(toWarp); SAVE(script); -- cgit