diff options
author | Paul Gilbert | 2017-09-17 22:15:01 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-09-17 22:15:01 -0400 |
commit | e6a1c5a9a04e1e0bfe1d8e0fe754544cb21a1b11 (patch) | |
tree | cc270e813d89c2db0c304319057c3aa9a3291f8b /engines/titanic/game | |
parent | d48caed20410f2e0abbf6708870388d7b9e9ea56 (diff) | |
download | scummvm-rg350-e6a1c5a9a04e1e0bfe1d8e0fe754544cb21a1b11.tar.gz scummvm-rg350-e6a1c5a9a04e1e0bfe1d8e0fe754544cb21a1b11.tar.bz2 scummvm-rg350-e6a1c5a9a04e1e0bfe1d8e0fe754544cb21a1b11.zip |
TITANIC: Added German DeskbotScript process additions
Diffstat (limited to 'engines/titanic/game')
-rw-r--r-- | engines/titanic/game/pet/pet_sounds.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/titanic/game/pet/pet_sounds.cpp b/engines/titanic/game/pet/pet_sounds.cpp index b2c9902cc8..74aaedafbe 100644 --- a/engines/titanic/game/pet/pet_sounds.cpp +++ b/engines/titanic/game/pet/pet_sounds.cpp @@ -21,6 +21,7 @@ */ #include "titanic/game/pet/pet_sounds.h" +#include "titanic/translation.h" namespace Titanic { @@ -43,11 +44,11 @@ void CPETSounds::load(SimpleFile *file) { bool CPETSounds::PETPlaySoundMsg(CPETPlaySoundMsg *msg) { if (msg->_soundNum == 1) { - playSound("z#65.wav"); + playSound(TRANSLATE("z#65.wav", "z#596.wav")); } else if (msg->_soundNum == 2 && stateGetParrotMet()) { uint ticks = getTicksCount(); if (!_ticks || ticks > (_ticks + 12000)) { - playSound("z#36.wav"); + playSound(TRANSLATE("z#36.wav", "z#568.wav")); _ticks = ticks; } } |