diff options
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/script.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/script.c b/src/map/script.c index 42fa4ed60..a6ad56ffe 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -11674,6 +11674,9 @@ int buildin_rid2name(struct script_state *st){ push_str(st->stack,C_CONSTSTR,""); break; } + } else { + ShowError("buildin_rid2name: invalid RID\n"); + push_str(st->stack,C_CONSTSTR,"(null)"); } return 0; } |