mirror of https://github.com/OpenRCT2/OpenRCT2.git
no_sheltered -> num_sheltered
This commit is contained in:
parent
7bb6b6a70d
commit
42fbe7b027
|
@ -195,7 +195,7 @@ typedef struct {
|
|||
uint8 highest_drop_height; // 0x117
|
||||
sint32 sheltered_length; // 0x118
|
||||
uint8 pad_11C[0x2];
|
||||
uint8 no_sheltered_sections; // 0x11E
|
||||
uint8 num_sheltered_sections; // 0x11E
|
||||
uint8 var_11F;
|
||||
sint16 var_120;
|
||||
sint16 var_122;
|
||||
|
|
|
@ -632,17 +632,17 @@ static rating_tuple sub_65E1C2(rct_ride *ride)
|
|||
/*eax = (ride->var_11C * 30340) >> 16;*/
|
||||
/*nausea += eax;*/
|
||||
|
||||
if (ride->no_sheltered_sections & 0x40) {
|
||||
if (ride->num_sheltered_sections & 0x40) {
|
||||
excitement += 20;
|
||||
nausea += 15;
|
||||
}
|
||||
|
||||
if (ride->no_sheltered_sections & 0x20) {
|
||||
if (ride->num_sheltered_sections & 0x20) {
|
||||
excitement += 20;
|
||||
nausea += 15;
|
||||
}
|
||||
|
||||
uint8 lowerval = ride->no_sheltered_sections & 0x1F;
|
||||
uint8 lowerval = ride->num_sheltered_sections & 0x1F;
|
||||
lowerval = min(lowerval, 11);
|
||||
excitement += (lowerval * 774516) >> 16;
|
||||
|
||||
|
|
Loading…
Reference in New Issue