home · contact · privacy
Removed redundant calls for zeroing of memory, especially where replaceable with...
[plomrogue] / src / server / map_object_actions.c
index f7bdcb4c0fd88d99ebd26ae65d64d6ac2c59d0d1..b77ffb9e0f808c8111d69aee6e0baf0a478affdc 100644 (file)
@@ -1,6 +1,7 @@
 /* src/server/map_object_actions.c */
 
 #include "map_object_actions.h"
+#include <stddef.h> /* NULL */
 #include <stdint.h> /* uint8_t, uint16_t */
 #include <stdio.h> /* sprintf() */
 #include <stdlib.h> /* free(), atoi() */
@@ -277,7 +278,7 @@ extern uint8_t get_moa_id_by_name(char * name)
         }
         moa = moa->next;
     }
-    exit_err(NULL == moa, "get_moa_id_name() did not find map object action.");
+    exit_err(NULL==moa, "get_moa_id_by_name() did not find map object action.");
     return moa->id;
 }