Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

Commit

Permalink
fixed an issue with event ODs causing wrong indexing due to numbers b…
Browse files Browse the repository at this point in the history
…eing in hexadecimal format. (it's not a good idea to create and read from an array with 0x10)
  • Loading branch information
v0idp committed Dec 17, 2021
1 parent dd02efa commit 4668a9e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
24 changes: 12 additions & 12 deletions events/_events.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@
using namespace app;

enum EVENT_TYPES {
EVENT_NONE = 0x0,
EVENT_KILL = 0x1,
EVENT_VENT = 0x2,
EVENT_TASK = 0x3,
EVENT_REPORT = 0x4,
EVENT_MEETING = 0x5,
EVENT_VOTE = 0x6,
EVENT_CHEAT = 0x7,
EVENT_DISCONNECT = 0x8,
EVENT_SHAPESHIFT = 0x9,
EVENT_PROTECTPLAYER = 0x10,
EVENT_WALK = 0x11,
EVENT_NONE = 0,
EVENT_KILL = 1,
EVENT_VENT = 2,
EVENT_TASK = 3,
EVENT_REPORT = 4,
EVENT_MEETING = 5,
EVENT_VOTE = 6,
EVENT_CHEAT = 7,
EVENT_DISCONNECT = 8,
EVENT_SHAPESHIFT = 9,
EVENT_PROTECTPLAYER = 10,
EVENT_WALK = 11,
EVENT_TYPES_SIZE = 12
};

Expand Down
2 changes: 1 addition & 1 deletion user/gitparams.h
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#define GIT_CUR_COMMIT c1a96e995553dca790698450823110c2ea930f74
#define GIT_CUR_COMMIT dd02efaa502cf8d64c81bf179ebcdacdbc937f2a
#define GIT_BRANCH main

0 comments on commit 4668a9e

Please sign in to comment.