Changeset 849 for trunk/engine/MainCharacter/MainCharacter.cpp
- Timestamp:
- 02/04/10 15:17:57 (6 months ago)
- Files:
-
- 1 modified
-
trunk/engine/MainCharacter/MainCharacter.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/engine/MainCharacter/MainCharacter.cpp
r558 r849 280 280 } 281 281 // if mGameOpts now outlaw basic craft, we must update 282 while(!(lReturnValue->mGameOpts & ((int) pow(2 , 3- ((lReturnValue->mHoverModel + 4) % 4)))))282 while(!(lReturnValue->mGameOpts & ((int) pow(2.0f, 3.0f - ((lReturnValue->mHoverModel + 4) % 4))))) 283 283 lReturnValue->mHoverModel++; 284 284 … … 406 406 407 407 // ensure we are using an allowed craft 408 while(!(mGameOpts & ((int) pow(2 , 3- ((mHoverModel + 4) % 4)))))408 while(!(mGameOpts & ((int) pow(2.0f, 3.0f - ((mHoverModel + 4) % 4))))) 409 409 mHoverModel++; 410 410 } … … 414 414 415 415 // ensure we are using an allowed craft 416 while(!(mGameOpts & ((int) pow(2 , 3- ((mHoverModel + 4) % 4)))))416 while(!(mGameOpts & ((int) pow(2.0f, 3.0f - ((mHoverModel + 4) % 4))))) 417 417 mHoverModel--; 418 418 }
