diff options
author | Johannes Schickel | 2011-11-16 18:06:30 +0100 |
---|---|---|
committer | Johannes Schickel | 2011-11-16 18:06:30 +0100 |
commit | 61795739f8f45c5de4cfd0fe57af459146c5173c (patch) | |
tree | 5ff6bcde25f40545d1768f623804ba44afce4b6e /engines/kyra/kyra_hof.cpp | |
parent | 6e90f9e6938c9727a3dbb552b74f0d40d0ab221f (diff) | |
download | scummvm-rg350-61795739f8f45c5de4cfd0fe57af459146c5173c.tar.gz scummvm-rg350-61795739f8f45c5de4cfd0fe57af459146c5173c.tar.bz2 scummvm-rg350-61795739f8f45c5de4cfd0fe57af459146c5173c.zip |
COMMON: Rename Common::set_to to Common::fill.
This makes the name match with the name of the STL function with the same
behavior.
Diffstat (limited to 'engines/kyra/kyra_hof.cpp')
-rw-r--r-- | engines/kyra/kyra_hof.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/kyra/kyra_hof.cpp b/engines/kyra/kyra_hof.cpp index 8a3229ea1f..e91f3ba6fc 100644 --- a/engines/kyra/kyra_hof.cpp +++ b/engines/kyra/kyra_hof.cpp @@ -1083,7 +1083,7 @@ void KyraEngine_HoF::loadNPCScript() { #pragma mark - void KyraEngine_HoF::resetScaleTable() { - Common::set_to(_scaleTable, ARRAYEND(_scaleTable), 0x100); + Common::fill(_scaleTable, ARRAYEND(_scaleTable), 0x100); } void KyraEngine_HoF::setScaleTableItem(int item, int data) { @@ -1673,7 +1673,7 @@ void KyraEngine_HoF::setCauldronState(uint8 state, bool paletteFade) { } void KyraEngine_HoF::clearCauldronTable() { - Common::set_to(_cauldronTable, ARRAYEND(_cauldronTable), -1); + Common::fill(_cauldronTable, ARRAYEND(_cauldronTable), -1); } void KyraEngine_HoF::addFrontCauldronTable(int item) { |