Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 18, 2018, 6:21:10 PM (6 years ago)
Author:
landauf
Message:

[SOBv2_HS17] fixed a bunch of compiler warnings (MSVC)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/Presentation_HS17_merge/src/modules/superorxobros/SOBQBlock.cc

    r11766 r11773  
    6464        //If you hit the QBlock, the visibility of all attached objects get inverted! Pretty easy way to create changing blocks :)
    6565        float v_z = otherObject->getVelocity().z;
    66         int collDisZ_ = getPosition().z - contactPoint.getPositionWorldOnB().getZ();
     66        float collDisZ_ = getPosition().z - contactPoint.getPositionWorldOnB().getZ();
    6767        if (!used_ && v_z > 50.0 && collDisZ_ > 0) {
    6868            used_ = true;
Note: See TracChangeset for help on using the changeset viewer.