diff options
author | Nicola Mettifogo | 2007-08-11 12:26:17 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2007-08-11 12:26:17 +0000 |
commit | 2c6c654435d94b523ac458fc18ebce46fdce1c21 (patch) | |
tree | 1406acc85a30cb47d8cb6a88348ba18c9d073c13 /engines/parallaction/graphics.cpp | |
parent | 156fa8e84f7848a86daf50eb1b2932f1a19e6408 (diff) | |
download | scummvm-rg350-2c6c654435d94b523ac458fc18ebce46fdce1c21.tar.gz scummvm-rg350-2c6c654435d94b523ac458fc18ebce46fdce1c21.tar.bz2 scummvm-rg350-2c6c654435d94b523ac458fc18ebce46fdce1c21.zip |
Added new clone method to Palette object.
svn-id: r28523
Diffstat (limited to 'engines/parallaction/graphics.cpp')
-rw-r--r-- | engines/parallaction/graphics.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/parallaction/graphics.cpp b/engines/parallaction/graphics.cpp index bc23992e4f..80185ef73d 100644 --- a/engines/parallaction/graphics.cpp +++ b/engines/parallaction/graphics.cpp @@ -54,6 +54,10 @@ Palette::Palette() { } Palette::Palette(const Palette &pal) { + clone(pal); +} + +void Palette::clone(const Palette &pal) { _colors = pal._colors; _hb = pal._hb; _size = pal._size; |