Skip to content

Commit

Permalink
🔨 fix(a_samp): change MAX_PLAYER_NAME lower bound
Browse files Browse the repository at this point in the history
MAX_PLAYER_NAME should have at least 3 characters
  • Loading branch information
rsetiawan7 authored May 19, 2021
1 parent 8bc9a32 commit 4a2a5e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions a_samp.inc
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,8 @@
#define BULLET_HIT_TYPE_PLAYER_OBJECT (4)

// Limits
#if MAX_PLAYER_NAME < 1 || MAX_PLAYER_NAME > 24
#error MAX_PLAYER_NAME must be >= 1 and <= 24
#if MAX_PLAYER_NAME < 3 || MAX_PLAYER_NAME > 24
#error MAX_PLAYER_NAME must be >= 3 and <= 24
#endif

#if MAX_PLAYERS < 1 || MAX_PLAYERS > 1000
Expand Down

0 comments on commit 4a2a5e1

Please sign in to comment.