Fixed a crash bug in ScriptExtender.cpp from commit e075c05

Minor code/document edits.
This commit is contained in:
NovaRain
2021-01-13 11:19:25 +08:00
parent 31af299b4a
commit 3b965fc76c
3 changed files with 11 additions and 8 deletions
+4 -1
View File
@@ -806,7 +806,10 @@
#define bit_32 (0x80000000)
#define bit_ALL (0xFFFFFFFF)
#define ROLL_CRITICAL_FAILURE 0
#define ROLL_FAILURE 1
#define ROLL_SUCCESS 2
#define ROLL_CRITICAL_SUCCESS 3
//Misc commands
#define obj_get_rot(obj) (has_trait(TRAIT_OBJECT, obj, OBJECT_CUR_ROT))