mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 17:51:28 +00:00
[Bug Fix] Fix +/- 0.1 XYZ Door Manipulation (#3527)
# Notes - We were checking if this was a number, not a float.
This commit is contained in:
parent
5a466da96c
commit
00a8a0cf88
@ -47,7 +47,7 @@ void DoorManipulation::CommandHandler(Client *c, const Seperator *sep)
|
|||||||
const std::string set_size_action = "set_size";
|
const std::string set_size_action = "set_size";
|
||||||
|
|
||||||
// we're passing a move action here
|
// we're passing a move action here
|
||||||
if (!arg3.empty() && Strings::IsNumber(arg3)) {
|
if (!arg3.empty() && (Strings::IsFloat(arg3) || Strings::IsNumber(arg3))) {
|
||||||
float x_move = 0.0f;
|
float x_move = 0.0f;
|
||||||
float y_move = 0.0f;
|
float y_move = 0.0f;
|
||||||
float z_move = 0.0f;
|
float z_move = 0.0f;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user