Browse Source

clang: unsigned>0 checks

Azaezel 9 years ago
parent
commit
0e896a9a02
2 changed files with 3 additions and 3 deletions
  1. 2 2
      Engine/source/T3D/debris.h
  2. 1 1
      Engine/source/T3D/player.h

+ 2 - 2
Engine/source/T3D/debris.h

@@ -62,8 +62,8 @@ struct DebrisData : public GameBaseData
    F32      elasticity;
    F32      elasticity;
    F32      lifetime;
    F32      lifetime;
    F32      lifetimeVariance;
    F32      lifetimeVariance;
-   U32      numBounces;
-   U32      bounceVariance;
+   S32      numBounces;
+   S32      bounceVariance;
    F32      minSpinSpeed;
    F32      minSpinSpeed;
    F32      maxSpinSpeed;
    F32      maxSpinSpeed;
    bool     explodeOnMaxBounce;  // explodes after it has bounced max times
    bool     explodeOnMaxBounce;  // explodes after it has bounced max times

+ 1 - 1
Engine/source/T3D/player.h

@@ -484,7 +484,7 @@ protected:
    /// @{
    /// @{
 
 
    struct ActionAnimation {
    struct ActionAnimation {
-      U32 action;
+      S32 action;
       TSThread* thread;
       TSThread* thread;
       S32 delayTicks;               // before picking another.
       S32 delayTicks;               // before picking another.
       bool forward;
       bool forward;