diff options
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c index 5d7c3154d..e75456b63 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -10663,7 +10663,7 @@ BUILDIN_FUNC(recovery) /*========================================== * Get your pet info: getpetinfo(n) * n -> 0:pet_id 1:pet_class 2:pet_name - 3:friendly 4:hungry + * 3:friendly 4:hungry, 5: rename flag. *------------------------------------------ */ BUILDIN_FUNC(getpetinfo) @@ -10693,6 +10693,9 @@ BUILDIN_FUNC(getpetinfo) case 4: script_pushint(st,pd->pet.hungry); break; + case 5: + script_pushint(st,pd->pet.rename_flag); + break; default: script_pushint(st,0); break; |