|
From: Crossfire C. r. messages.
<cro...@li...> - 2020-11-23 14:12:31
|
Revision: 21561
http://sourceforge.net/p/crossfire/code/21561
Author: ryo_saeba
Date: 2020-11-23 14:12:29 +0000 (Mon, 23 Nov 2020)
Log Message:
-----------
Change function prototype.
Modified Paths:
--------------
server/trunk/ChangeLog
server/trunk/common/anim.c
server/trunk/include/libproto.h
Modified: server/trunk/ChangeLog
===================================================================
--- server/trunk/ChangeLog 2020-11-23 00:37:39 UTC (rev 21560)
+++ server/trunk/ChangeLog 2020-11-23 14:12:29 UTC (rev 21561)
@@ -1,3 +1,6 @@
+2020-11-23 Nicolas Weeger
+ * common/anim.c: change function prototype.
+
2020-11-11 Daniel Hawkins and Kevin Zheng
* socket/request.c,
server/player.c: Make the handling to prevent createplayer command abuse
Modified: server/trunk/common/anim.c
===================================================================
--- server/trunk/common/anim.c 2020-11-23 00:37:39 UTC (rev 21560)
+++ server/trunk/common/anim.c 2020-11-23 14:12:29 UTC (rev 21561)
@@ -315,7 +315,7 @@
* @param suffix
* animation suffix to apply. Must not be NULL.
*/
-void apply_anim_suffix(object *who, sstring suffix) {
+void apply_anim_suffix(object *who, const char *suffix) {
const Animations *anim;
object *head, *orig;
char buf[MAX_BUF];
Modified: server/trunk/include/libproto.h
===================================================================
--- server/trunk/include/libproto.h 2020-11-23 00:37:39 UTC (rev 21560)
+++ server/trunk/include/libproto.h 2020-11-23 14:12:29 UTC (rev 21561)
@@ -4,7 +4,7 @@
extern const Animations *find_animation(const char *name);
extern const Animations *try_find_animation(const char *name);
extern void animate_object(object *op, int dir);
-extern void apply_anim_suffix(object *who, sstring suffix);
+extern void apply_anim_suffix(object *who, const char *suffix);
extern void dump_animations(void);
/* arch.c */
extern archetype *find_archetype_by_object_name(const char *name);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|