aboutsummaryrefslogtreecommitdiff
path: root/engines/cine/script.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cine/script.cpp')
-rw-r--r--engines/cine/script.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/cine/script.cpp b/engines/cine/script.cpp
index ca8eebe35d..3b469eda60 100644
--- a/engines/cine/script.cpp
+++ b/engines/cine/script.cpp
@@ -23,7 +23,7 @@
*
*/
-#include "common/stdafx.h"
+
#include "common/endian.h"
#include "cine/cine.h"
@@ -1475,7 +1475,7 @@ void o1_setZoneDataEntry() {
void o1_getZoneDataEntry() {
byte zoneIdx = getNextByte();
byte var = getNextByte();
-
+
_currentScriptElement->localVars[var] = zoneData[zoneIdx];
}
@@ -1574,7 +1574,7 @@ void o1_playSample() {
channel2 = 1;
} else {
channel1 = 2;
- channel2 = 3;
+ channel2 = 3;
}
g_sound->playSound(channel1, freq, animDataTable[anim].ptr1, size, -1, volume, 63, repeat);
g_sound->playSound(channel2, freq, animDataTable[anim].ptr1, size, 1, volume, 0, repeat);