diff options
Diffstat (limited to '')
-rw-r--r-- | src/bossFuzzyBear.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bossFuzzyBear.cpp b/src/bossFuzzyBear.cpp index 97fc893..3fe4085 100644 --- a/src/bossFuzzyBear.cpp +++ b/src/bossFuzzyBear.cpp @@ -267,11 +267,11 @@ int daFuzzyBear_c::onCreate() { this->direction = 0; // Heading left. this->speed.x = 0; - this->LaunchSpeedShort = ((this->settings >> 20) && 0xF) * 10.0; - this->LaunchSpeedHigh = ((this->settings >> 24) && 0xF) * 10.0; + this->LaunchSpeedShort = ((this->settings >> 20) & 0xF) * 10.0; + this->LaunchSpeedHigh = ((this->settings >> 24) & 0xF) * 10.0; - this->AreaWidthRight = this->settings && 0xFF; - this->AreaWidthLeft = (this->settings >> 8) && 0xFF; + this->AreaWidthRight = this->settings & 0xFF; + this->AreaWidthLeft = (this->settings >> 8) & 0xFF; this->initialPos = this->pos; this->storeSpeed = 0; |