summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/skill.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 17175b741..3ce19042a 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -9822,7 +9822,8 @@ int skill_unit_move_unit_group (struct skill_unit_group *group, int m, int dx, i
struct skill_unit *unit1;
struct skill_unit *unit2;
- nullpo_retr(0, group);
+ if (group == NULL)
+ return 0;
if (group->unit_count<=0)
return 0;
if (group->unit==NULL)