Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 21, 2016, 1:59:04 PM (8 years ago)
Author:
muemart
Message:

Fix some clang-tidy warnings.
Also, Serialise.h was doing some C-style casts that ended up being const casts. I moved those const casts as close to the source as possible and changed the loadAndIncrease functions to not do that.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/modules/objects/ForceField.h

    r11071 r11083  
    9898            @param vel The velocity to be set.
    9999            */
    100             inline void setVelocity(float vel)
     100            inline void setFieldVelocity(float vel)
    101101                { this->velocity_ = vel; }
    102102            /**
     
    104104            @return Returns the velocity of the ForceField.
    105105            */
    106             inline float getVelocity()
     106            inline float getFieldVelocity()
    107107                { return this->velocity_; }
    108108
Note: See TracChangeset for help on using the changeset viewer.