Browse Source

Bad command handlers called, set high status and set handler id to 0

Image 2 years ago
parent
commit
e0e2525c4a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      EQ2/source/WorldServer/Commands/Commands.h

+ 2 - 0
EQ2/source/WorldServer/Commands/Commands.h

@@ -239,6 +239,8 @@ public:
 	void addZero(){
 		num_commands++;
 		EQ2_RemoteCommandString add;
+		add.handler = 0;
+		add.required_status = 300;
 		add.command.size = 0;
 		commands.push_back(add);
 	}