summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sound.c2
-rw-r--r--ttd.dsp4
-rw-r--r--ttd.vcproj4
3 files changed, 9 insertions, 1 deletions
diff --git a/sound.c b/sound.c
index f8b5de7da..28055dee4 100644
--- a/sound.c
+++ b/sound.c
@@ -241,7 +241,7 @@ static bool MxSetBankSource(MixerChannel *mc, uint bank)
FioReadBlock(mem, fe->file_size);
for (i = 0; i != fe->file_size; i++)
- mem[i] -= 128; // Convert unsigned sound data to signed
+ mem[i] += -128; // Convert unsigned sound data to signed
assert(fe->bits_per_sample == 8 && fe->channels == 1 && fe->file_size != 0 && fe->rate != 0);
diff --git a/ttd.dsp b/ttd.dsp
index 130eb7594..1b8a67280 100644
--- a/ttd.dsp
+++ b/ttd.dsp
@@ -761,6 +761,10 @@ SOURCE=.\table\animcursors.h
# End Source File
# Begin Source File
+SOURCE=.\table\autorail.h
+# End Source File
+
+# Begin Source File
SOURCE=.\table\build_industry.h
# End Source File
diff --git a/ttd.vcproj b/ttd.vcproj
index 9a36f4c47..7023f7d90 100644
--- a/ttd.vcproj
+++ b/ttd.vcproj
@@ -188,6 +188,7 @@
WarningLevel="3"
WarnAsError="TRUE"
SuppressStartupBanner="TRUE"
+ Detect64BitPortabilityProblems="FALSE"
DebugInformationFormat="4"
CallingConvention="0"
CompileAs="1"/>
@@ -2507,6 +2508,9 @@
RelativePath=".\table\animcursors.h">
</File>
<File
+ RelativePath=".\table\autorail.h">
+ </File>
+ <File
RelativePath="table\build_industry.h">
</File>
<File