Skip to content

Commit

Permalink
Release 1.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dronelektron committed Jan 18, 2023
2 parents 7cc692f + beb7070 commit 15e9433
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion scripting/gravity-gun.sp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public Plugin myinfo = {
name = "Gravity gun",
author = "Dron-elektron",
description = "Allows you to grab, move and throw players",
version = "1.6.0",
version = "1.6.1",
url = "https://github.com/dronelektron/gravity-gun"
};

Expand Down
6 changes: 3 additions & 3 deletions scripting/include/gg/client.inc
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
#define SPEED_FACTOR_MAX 10.0
#define SPEED_FACTOR_DEFAULT 5.0

#define THROW_SPEED_MIN 256.0
#define THROW_SPEED_MAX 32768.0
#define THROW_SPEED_DEFAULT 1024.0
#define THROW_SPEED_MIN 500.0
#define THROW_SPEED_MAX 10000.0
#define THROW_SPEED_DEFAULT 1000.0

#define CONE_ANGLE_MIN 5.0
#define CONE_ANGLE_MAX 60.0
Expand Down
2 changes: 1 addition & 1 deletion scripting/modules/menu.sp
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ void Menu_ThrowSpeed(int client) {

char info[INFO_MAX_SIZE];

for (float throwSpeed = THROW_SPEED_MIN; throwSpeed <= THROW_SPEED_MAX; throwSpeed *= 2.0) {
for (float throwSpeed = THROW_SPEED_MIN; throwSpeed <= THROW_SPEED_MAX; throwSpeed += 500.0) {
int throwSpeedInteger = RoundToFloor(throwSpeed);

IntToString(throwSpeedInteger, info, sizeof(info));
Expand Down

0 comments on commit 15e9433

Please sign in to comment.