diff --git a/src/include/versioning.h b/src/include/versioning.h index 249ec95..35832dd 100644 --- a/src/include/versioning.h +++ b/src/include/versioning.h @@ -5,7 +5,7 @@ #define APP_GENER 0 #define APP_MAJOR 0 #define APP_MINOR 107 -#define APP_PATCH 1 +#define APP_PATCH 2 #define APP_VER_STRING APP_GENER.APP_MAJOR.APP_MINOR.APP_PATCH diff --git a/src/source/DataModelV2/LevelInstance.cpp b/src/source/DataModelV2/LevelInstance.cpp index 4b33578..08a25cc 100644 --- a/src/source/DataModelV2/LevelInstance.cpp +++ b/src/source/DataModelV2/LevelInstance.cpp @@ -217,7 +217,7 @@ void LevelInstance::Step(SimTime sdt) score -= 1; break; } - if (timer >= 0.1f){ //Due to timing used this could cause the number go into negatives for one step + if (timer >= sdt){ timer -= sdt; } else{