1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 23:04:36 +01:00

cmake build

This commit is contained in:
zsilencer
2014-09-05 19:56:42 -06:00
parent 04a2d27c9a
commit 02cacd45c1
3 changed files with 6 additions and 3 deletions

View File

@@ -133,7 +133,7 @@ typedef struct general_configuration {
uint16 language;
} general_configuration_t;
static const struct { char *key; int value; } _currencyLookupTable[] = {
static const struct { const char *key; int value; } _currencyLookupTable[] = {
{ "GBP", CURRENCY_POUNDS },
{ "USD", CURRENCY_DOLLARS },
{ "FRF", CURRENCY_FRANC },

View File

@@ -362,7 +362,7 @@ void Mixer::MixChannel(Channel& channel, Uint8* data, int length)
}
channel.offset = 0;
}
} while(loaded < length || (loaded < length && channel.loop != 0 && channel.offset == 0));
} while(loaded < length && channel.loop != 0);
}
}