- Arreglat el problema
This commit is contained in:
@@ -27,8 +27,8 @@ namespace actor
|
||||
actor_t *create(std::string name, vec3_t p, vec3_t s, std::string bmp, SDL_Rect r, SDL_Point o)
|
||||
{
|
||||
actor_t *act = (actor_t*)malloc(sizeof(actor_t));
|
||||
act->name = std::string(name);
|
||||
act->bmp = std::string(bmp);
|
||||
strcpy(act->name, name.c_str());
|
||||
strcpy(act->bmp, bmp.c_str());
|
||||
act->pos = p;
|
||||
act->size = s;
|
||||
act->surface = draw::loadSurface(bmp.c_str());
|
||||
|
||||
Reference in New Issue
Block a user