Revision 321
correcting some problems
crosshair.h | ||
---|---|---|
4 | 4 |
#include "crosshair.xpm" |
5 | 5 |
#include "graph.h" |
6 | 6 |
|
7 |
basic_sprite_t* get_crosshair(){ |
|
8 |
return basic_sprite_ctor(crosshair_xpm, 16, 16); |
|
7 |
static basic_sprite_t* get_crosshair(){
|
|
8 |
return basic_sprite_ctor((const char *const *)crosshair_xpm, 16, 16);
|
|
9 | 9 |
} |
10 | 10 |
|
11 | 11 |
#endif //CROSSHAIR_H_INCLUDED |
Also available in: Unified diff