Revision 321
correcting some problems
pistol.h | ||
---|---|---|
4 | 4 |
#include "pistol.xpm" |
5 | 5 |
#include "graph.h" |
6 | 6 |
|
7 |
basic_sprite_t* get_pistol(void){ |
|
8 |
return basic_sprite_ctor((const char **)pistol_xpm, 34, 34); |
|
7 |
static basic_sprite_t* get_pistol(void){
|
|
8 |
return basic_sprite_ctor((const char *const *)pistol_xpm, 34, 34);
|
|
9 | 9 |
} |
10 | 10 |
|
11 | 11 |
#endif //PISTOL_H_INCLUDED |
Also available in: Unified diff