comparison libmlk-adventure/adventure/action/teleport.c @ 275:f89a53abb314

adventure: cleanup actions and prepare map scenes
author David Demelier <markand@malikania.fr>
date Sun, 13 Dec 2020 11:01:18 +0100
parents e28429dbdaaf
children 196264679079
comparison
equal deleted inserted replaced
274:a9064c09dde6 275:f89a53abb314
112 112
113 free(act->data); 113 free(act->data);
114 } 114 }
115 115
116 struct action * 116 struct action *
117 teleport_new(struct teleport *tp) 117 teleport_action(struct teleport *tp)
118 { 118 {
119 assert(tp); 119 assert(tp);
120 120
121 tp->action.data = tp; 121 tp->action.data = tp;
122 tp->action.update = update_touch; 122 tp->action.update = update_touch;