svn-id: r11668
This commit is contained in:
Travis Howell 2003-12-16 02:27:53 +00:00
parent 850b679bd7
commit 0b0f5d0b7a
3 changed files with 3 additions and 3 deletions

View File

@ -111,4 +111,4 @@ const char SwordDebug::_mCodeNames[100][35] = {
"fnGreen", "fnGreen",
"fnPurple", "fnPurple",
"fnBlack" "fnBlack"
}; };

View File

@ -61,7 +61,7 @@ void SwordSound::engine(void) {
// first of all, add any random sfx to the queue... // first of all, add any random sfx to the queue...
for (uint16 cnt = 0; cnt < TOTAL_FX_PER_ROOM; cnt++) { for (uint16 cnt = 0; cnt < TOTAL_FX_PER_ROOM; cnt++) {
uint16 fxNo; uint16 fxNo;
if (fxNo = _roomsFixedFx[SwordLogic::_scriptVars[SCREEN]][cnt]) { if (fxNo == _roomsFixedFx[SwordLogic::_scriptVars[SCREEN]][cnt]) {
if (_fxList[fxNo].type == FX_RANDOM) { if (_fxList[fxNo].type == FX_RANDOM) {
if (_rnd.getRandomNumber(_fxList[fxNo].delay) == 0) if (_rnd.getRandomNumber(_fxList[fxNo].delay) == 0)
addToQueue(fxNo); addToQueue(fxNo);

View File

@ -90,4 +90,4 @@ private:
SwordSound *_sound; SwordSound *_sound;
SwordMenu *_menu; SwordMenu *_menu;
SwordMusic *_music; SwordMusic *_music;
}; };