Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AbyssMorgan committed Dec 21, 2021
1 parent 0f4cb04 commit 23a08ff
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 21 deletions.
3 changes: 1 addition & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
# Auto detect text files and perform LF normalization
* text=auto
*.inc linguist-language=Pawn
38 changes: 19 additions & 19 deletions 3DTryg.inc
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,9 @@ enum 'StreamType'
#error [ADM] Module already defined: TRYG3D_MOD_GRENADEDETECTION
#endif
#if defined TRYG3D_ENABLE_GRENADEDETECTION
#if !defined TRYG3D_MOD_COLANDREAS
#if !defined TRYG3D_MOD_PLAYER
#error [ADM] Trying to enable Grenade Detection without Player Module
#elseif !defined TRYG3D_MOD_COLANDREAS
#error [ADM] Trying to enable Grenade Detection without ColAndreas Module
#else
#define TRYG3D_MOD_GRENADEDETECTION "GrenadeDetection"
Expand Down Expand Up @@ -1159,24 +1161,22 @@ enum LootArray {
Float:ItemChance
}

#if defined TRYG3D_MOD_UNIVERSAL
enum Item3D {
item_player,
item_npc,
item_actor,
item_object,
item_vehicle,
item_dynamic_object,
item_dynamic_pickup,
item_dynamic_cp,
item_dynamic_racecp,
item_dynamic_mapicon,
item_dynamic_3dtext,
item_dynamic_actor,
item_dynamic_vehicle,
item_fcnpc
}
#endif
enum Item3D {
item_player,
item_npc,
item_actor,
item_object,
item_vehicle,
item_dynamic_object,
item_dynamic_pickup,
item_dynamic_cp,
item_dynamic_racecp,
item_dynamic_mapicon,
item_dynamic_3dtext,
item_dynamic_actor,
item_dynamic_vehicle,
item_fcnpc
}

#if defined TRYG3D_MOD_CATCHITEMS
enum StreamType {
Expand Down

0 comments on commit 23a08ff

Please sign in to comment.